From ca24ba5c0b1bc6831b816e5f41f8c314990406e3 Mon Sep 17 00:00:00 2001 From: Mirek Simek Date: Wed, 14 Feb 2024 14:44:47 +0100 Subject: [PATCH] Fix for field overriding in case the field is inside scope --- oarepo_ui/resources/catalog.py | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/oarepo_ui/resources/catalog.py b/oarepo_ui/resources/catalog.py index f0be9a71..826ebf27 100644 --- a/oarepo_ui/resources/catalog.py +++ b/oarepo_ui/resources/catalog.py @@ -164,7 +164,7 @@ def component_paths(self) -> Dict[str, Tuple[Path, Path]]: # if the priority is greater, replace the path if ( partial_template_name not in paths - or partial_priority > paths[template_name][2] + or partial_priority > paths[partial_template_name][2] ): paths[partial_template_name] = ( absolute_template_path, diff --git a/setup.cfg b/setup.cfg index 7e82819e..2b534a88 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = oarepo-ui -version = 5.0.103 +version = 5.0.104 description = UI module for invenio 3.5+ long_description = file: README.md long_description_content_type = text/markdown