From a73a0bad9334fb5d65e4ffd1eb7d65a2f189abc6 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 13 Feb 2024 16:50:15 +0100 Subject: 🗃️ Context record - identification type changes to hierarchical (refs #5739) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/views_item.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ishtar_common/views_item.py') diff --git a/ishtar_common/views_item.py b/ishtar_common/views_item.py index 8c1c0b734..735ccf2e1 100644 --- a/ishtar_common/views_item.py +++ b/ishtar_common/views_item.py @@ -553,14 +553,15 @@ def revert_item(model): HIERARCHIC_LEVELS = 5 LIST_FIELDS = { # key: hierarchic depth - "periods": HIERARCHIC_LEVELS, - "period": HIERARCHIC_LEVELS, - "unit": HIERARCHIC_LEVELS, + "conservatory_state": HIERARCHIC_LEVELS, + "identification": HIERARCHIC_LEVELS, "material_types": HIERARCHIC_LEVELS, "material_type": HIERARCHIC_LEVELS, - "conservatory_state": HIERARCHIC_LEVELS, "object_types": HIERARCHIC_LEVELS, + "period": HIERARCHIC_LEVELS, + "periods": HIERARCHIC_LEVELS, "source_type": HIERARCHIC_LEVELS, + "unit": HIERARCHIC_LEVELS, "batch": 0, "preservation_to_considers": 0, "integrities": 0, @@ -584,7 +585,6 @@ LIST_FIELDS = { # key: hierarchic depth "provider": 0, "excavation_technics": 0, "activity": 0, - "identification": 0, } HIERARCHIC_FIELDS = list(LIST_FIELDS.keys()) -- cgit v1.2.3