mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-21 07:26:18 -05:00
Reversing order for circleci.
This commit is contained in:
parent
984aa04f0a
commit
e25c92a30b
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ def search(search_str: str, limit: int, offset: int):
|
|||
SELECT id, ts_rank_cd(textsearch, websearch_to_tsquery(%(search_str)s)), COUNT(*) OVER() AS total
|
||||
FROM file
|
||||
WHERE textsearch @@ websearch_to_tsquery(%(search_str)s)
|
||||
ORDER BY 2, 1
|
||||
ORDER BY 1, 2
|
||||
OFFSET %(offset)s LIMIT %(limit)s
|
||||
'''
|
||||
params = dict(search_str=search_str, offset=offset, limit=limit)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue