From 9ba202fee30ec15dc0c62d0b00c31f76f461a16f Mon Sep 17 00:00:00 2001 From: Eric Tendian Date: Wed, 1 Jan 2025 12:39:16 -0600 Subject: [PATCH] Fix sortBy in search link --- app/search/adapters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/search/adapters.py b/app/search/adapters.py index f58c849..b4e25bd 100644 --- a/app/search/adapters.py +++ b/app/search/adapters.py @@ -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": {