Skip to content

Commit

Permalink
Fixed invalid SphinxQL - requires first attribute than value for comp…
Browse files Browse the repository at this point in the history
…arison.
  • Loading branch information
MartinMikita committed May 26, 2016
1 parent 08cc23d commit 5dd955b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/websearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def process_query_mysql(index, query, query_filter, start=0, count=0):
dateend = int(time.mktime(de))

if datestart > 0:
whereFilter.append('%s < date_filter')
whereFilter.append('date_filter > %s')
argsFilter.append(datestart)
if dateend > 0:
whereFilter.append('date_filter < %s')
Expand Down

0 comments on commit 5dd955b

Please sign in to comment.