Fixed a mistake on determining if coming call is a query call or date-time archive call in views.py at archive def.
This commit is contained in:
parent
66fed29683
commit
04d76c5349
|
@ -136,7 +136,7 @@ def archive(request,archive_year='',archive_month='',archive_day=''):
|
|||
|
||||
### Determine if the request object includes any querying input or not. ###
|
||||
|
||||
if ( (request.GET) ):
|
||||
if ( (request.GET) and ('q_author_name' in request.GET or 'q_author_surname' in request.GET or 'q_text' in request.GET ) ):
|
||||
# Switch to 'return the result of query' mode.
|
||||
info_area = 'query'
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user