From 8088e7122f54e29e1560df0df0fb14857555b860 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Sat, 26 Oct 2024 13:55:05 +0200 Subject: [PATCH] configure user records search --- invenio.cfg | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/invenio.cfg b/invenio.cfg index 4131a33..eee5d62 100644 --- a/invenio.cfg +++ b/invenio.cfg @@ -463,8 +463,6 @@ RDM_SEARCH = { "ror": "metadata.creators.affiliations.id", "issn": "custom_fields.journal\:journal.issn", # Specific to InveniRDM Starter - "uuid": "metadata.identifiers.identifier", - "guid": "metadata.identifiers.identifier", "content": "custom_fields.rs\:content_text", }, tree_transformer_cls=SearchFieldTransformer, @@ -474,6 +472,12 @@ RDM_SEARCH = { COMMUNITIES_RECORDS_SEARCH = deepcopy(RDM_SEARCH) """Communities record search config is the same as the main record search.""" +RDM_SEARCH_DRAFTS = { + "facets": ["is_published", "language", "subject"], + "sort": ["bestmatch", "newest", "oldest", "updated-desc", "updated-asc", "created-desc", "created-asc"], +} +"""User records search configuration (i.e. list of uploads).""" + # Toggle to show or hide the 'Browse' menu entry for communities. COMMUNITIES_SHOW_BROWSE_MENU_ENTRY = True