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:
Mustafa Arıcı 2010-07-16 07:57:54 +00:00
parent 66fed29683
commit 04d76c5349

View File

@ -136,7 +136,7 @@ def archive(request,archive_year='',archive_month='',archive_day=''):
### Determine if the request object includes any querying input or not. ### ### 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. # Switch to 'return the result of query' mode.
info_area = 'query' info_area = 'query'