Skip to content

Commit

Permalink
fix: typo in sort results
Browse files Browse the repository at this point in the history
  • Loading branch information
StuCM committed Jan 3, 2025
1 parent 16c4573 commit 8b29dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arches/app/search/components/sort_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

class SortResults(BaseSearchFilter):
def append_dsl(self, search_query_object, **kwargs):
sort_param = self.parameters..get(self.componentname, None)
sort_param = self.parameters.get(self.componentname, None)

if sort_param is not None and sort_param != "":
search_query_object["query"].sort(
Expand Down

0 comments on commit 8b29dff

Please sign in to comment.