From 91aa1eb13188d9259d6c6733f130080a84d9d579 Mon Sep 17 00:00:00 2001 From: Laura Date: Tue, 23 Dec 2025 08:34:57 +0100 Subject: [PATCH 1/3] config: restrict global search schema to Research Results (RDM) --- themes/MUG/invenio.cfg | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/themes/MUG/invenio.cfg b/themes/MUG/invenio.cfg index e137278..00c790b 100644 --- a/themes/MUG/invenio.cfg +++ b/themes/MUG/invenio.cfg @@ -306,8 +306,8 @@ OVERRIDE_RESOURCE_OVERVIEW = True # ============================================================================ # Invenio-override - Global Search Configuration # ============================================================================ -OVERRIDE_SHOW_PUBLICATIONS_SEARCH = True -"""Enable or disable the publication global search feature.""" +OVERRIDE_SHOW_PUBLICATIONS_SEARCH = False +"""Enable or disable the publication (marc21) global search feature.""" OVERRIDE_SHOW_EDUCATIONAL_RESOURCES = False """Enable or disable the educational resources global search feature.""" @@ -324,12 +324,8 @@ GLOBAL_SEARCH_SCHEMAS = { "schema": "rdm", "name_l10n": "Research Result", }, - "marc21": { - "schema": "marc21", - "name_l10n": "Publication", - }, } -"""Mapping of original schemas for global search.""" +"""Only expose RDM schema in global search.""" # ============================================================================ # Invenio-OAuthclient From 421d92547d046ad650ae01a445892a8aaf65e700 Mon Sep 17 00:00:00 2001 From: Laura Date: Tue, 23 Dec 2025 09:25:05 +0100 Subject: [PATCH 2/3] config: add OVERRIDE_SHOW_RDM_SEARCH flag for MUG deployment --- themes/MUG/invenio.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/themes/MUG/invenio.cfg b/themes/MUG/invenio.cfg index 00c790b..3970f27 100644 --- a/themes/MUG/invenio.cfg +++ b/themes/MUG/invenio.cfg @@ -312,6 +312,9 @@ OVERRIDE_SHOW_PUBLICATIONS_SEARCH = False OVERRIDE_SHOW_EDUCATIONAL_RESOURCES = False """Enable or disable the educational resources global search feature.""" +OVERRIDE_SHOW_RDM_SEARCH = True +"""Show only Research Results (RDM) in search/overview components.""" + USER_DASHBOARD_MENU_OVERRIDES = { "uploads": { "text": _("Research Results"), From 8b8412e8333871b1fc6ec6c00936c77a62158775 Mon Sep 17 00:00:00 2001 From: Laura TH <112856634+lpandath@users.noreply.github.com> Date: Tue, 23 Dec 2025 09:44:08 +0100 Subject: [PATCH 3/3] Update themes/MUG/invenio.cfg Co-authored-by: mb-wali <44528277+mb-wali@users.noreply.github.com> --- themes/MUG/invenio.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/MUG/invenio.cfg b/themes/MUG/invenio.cfg index 3970f27..9119d2b 100644 --- a/themes/MUG/invenio.cfg +++ b/themes/MUG/invenio.cfg @@ -328,7 +328,7 @@ GLOBAL_SEARCH_SCHEMAS = { "name_l10n": "Research Result", }, } -"""Only expose RDM schema in global search.""" +"""Mapping of original schemas for global search, here only RDM schema are shown.""" # ============================================================================ # Invenio-OAuthclient