diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-02-13 16:50:15 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-02-16 10:55:15 +0100 |
| commit | 961048174430206d4407581898c1b0df4ee59566 (patch) | |
| tree | af4222376b537e9a4c59eb75638436a3a9df8682 /ishtar_common | |
| parent | 900d6964c08962ede810887fc9ff6bff2d9b7b8e (diff) | |
| download | Ishtar-961048174430206d4407581898c1b0df4ee59566.tar.bz2 Ishtar-961048174430206d4407581898c1b0df4ee59566.zip | |
🗃️ Context record - identification type changes to hierarchical (refs #5739)
Diffstat (limited to 'ishtar_common')
| -rw-r--r-- | ishtar_common/views_item.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ishtar_common/views_item.py b/ishtar_common/views_item.py index 5d29a9850..88f746b4e 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()) |
