Skip to content

Commit

Permalink
Using backends' sort options for default ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
mesemus committed Oct 24, 2023
1 parent 560f66e commit e925f14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions oarepo_ui/resources/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ def search_app_config(self, identity, api_config, overrides={}, **kwargs):
api_config, identity
),
selected_options=self.search_active_sort_options(api_config, identity),
default_option=api_config.search.sort_default,
no_query_option=api_config.search.sort_default_no_query
),
facets=self.search_facets_config(
available_facets=self.search_available_facets(api_config, identity),
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = oarepo-ui
version = 5.0.76
version = 5.0.77
description = UI module for invenio 3.5+
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down

0 comments on commit e925f14

Please sign in to comment.