Skip to content

Commit 5dd955b

Browse files
author
MartinMikita
committed
Fixed invalid SphinxQL - requires first attribute than value for comparison.
1 parent 08cc23d commit 5dd955b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/websearch.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def process_query_mysql(index, query, query_filter, start=0, count=0):
247247
dateend = int(time.mktime(de))
248248

249249
if datestart > 0:
250-
whereFilter.append('%s < date_filter')
250+
whereFilter.append('date_filter > %s')
251251
argsFilter.append(datestart)
252252
if dateend > 0:
253253
whereFilter.append('date_filter < %s')

0 commit comments

Comments
 (0)