diff --git a/oarepo_ui/resources/config.py b/oarepo_ui/resources/config.py index 95278b36..925ca84c 100644 --- a/oarepo_ui/resources/config.py +++ b/oarepo_ui/resources/config.py @@ -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), diff --git a/setup.cfg b/setup.cfg index 577ffe5e..78fc32b0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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