summaryrefslogtreecommitdiff
path: root/ishtar_common/views_item.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2025-03-10 12:07:55 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-03-10 14:46:40 +0100
commit97b660bd9c1879813677e65c8558aeda16489b94 (patch)
treefb58e35ceb49845808a90cb226d3e52a903a7441 /ishtar_common/views_item.py
parent7efe26d54d8f4b291d4f2f9acd351e3cf35a8741 (diff)
downloadIshtar-97b660bd9c1879813677e65c8558aeda16489b94.tar.bz2
Ishtar-97b660bd9c1879813677e65c8558aeda16489b94.zip
🐛 person search: fix person type search (refs #6191)
Diffstat (limited to 'ishtar_common/views_item.py')
-rw-r--r--ishtar_common/views_item.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ishtar_common/views_item.py b/ishtar_common/views_item.py
index a6984be8e..008dbd0eb 100644
--- a/ishtar_common/views_item.py
+++ b/ishtar_common/views_item.py
@@ -114,9 +114,9 @@ LIST_FIELDS = { # key: hierarchic depth
"colors": HIERARCHIC_LEVELS,
"development_type": HIERARCHIC_LEVELS,
"monitoring_justification": HIERARCHIC_LEVELS,
- "types": HIERARCHIC_LEVELS,
"documentations": HIERARCHIC_LEVELS,
"excavation_technics": HIERARCHIC_LEVELS,
+ "treatment_types": HIERARCHIC_LEVELS,
"discovery_method": 0,
"discovery_status": 0,
"current_status": 0,
@@ -147,6 +147,9 @@ LIST_FIELDS = { # key: hierarchic depth
"origin": 0,
"provider": 0,
"activity": 0,
+ "person_types": 0,
+ "relation_types": 0,
+ "types": HIERARCHIC_LEVELS, # keep it at the end to not mess with other types
}
HIERARCHIC_FIELDS = list(LIST_FIELDS.keys())