diff --git a/invenio.cfg b/invenio.cfg index 002f097f..80c9aca2 100644 --- a/invenio.cfg +++ b/invenio.cfg @@ -321,8 +321,8 @@ RDM_SORT_OPTIONS = { RDM_SEARCH = { "facets": ["access_status", "resource_type", "subject", "file_type"] + list(CUSTOM_FIELDS_FACETS.keys()), "sort": [ - "bestmatch", "mostviewed", + "bestmatch", "newest", "oldest", "version", @@ -380,8 +380,8 @@ RDM_FACETS = { } RDM_SEARCH_DRAFTS = { - **RDM_SEARCH_DRAFTS, - "facets": RDM_SEARCH_DRAFTS["facets"] + list(CUSTOM_FIELDS_FACETS.keys()) + **RDM_SEARCH, + "sort_default_no_query": "newest", } # User moderation feature enabled