Skip to content

Commit

Permalink
Use regconfig in sort also. Fixes falcony-io#75
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxxxzero committed Feb 15, 2023
1 parent ea46ffa commit 2c26e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlalchemy_searchable/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def search(query, search_query, vector=None, regconfig=None, sort=False):
sa.desc(
sa.func.ts_rank_cd(
vector,
sa.func.parse_websearch(search_query)
sa.func.parse_websearch(regconfig, search_query)
)
)
)
Expand Down

0 comments on commit 2c26e15

Please sign in to comment.