Skip to content

Commit

Permalink
Fix sortBy in search link
Browse files Browse the repository at this point in the history
  • Loading branch information
EricTendian committed Jan 1, 2025
1 parent 0d51e21 commit 9ba202f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/search/adapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def build_search_url(self, document: Document, index_name: str) -> str:
return ""
params = {
index_name: {
"sortBy": index_name + "/sort/start_time:desc",
"sortBy": index_name + ":start_time:desc",
"hitsPerPage": 60,
"refinementList": {"talkgroup_tag": [document["talkgroup_tag"]]},
"range": {
Expand Down

0 comments on commit 9ba202f

Please sign in to comment.