summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-08-17 14:54:02 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:23:17 +0100
commit47b8c7e1acddb890ecce1e7f13352bd5b31d8d24 (patch)
treeb4f5caee4458929bddb2371863abd9a2d1163ee8 /archaeological_warehouse/models.py
parent5d9d9a35eb15eb5cfee880ca1ef185dcf16b2817 (diff)
downloadIshtar-47b8c7e1acddb890ecce1e7f13352bd5b31d8d24.tar.bz2
Ishtar-47b8c7e1acddb890ecce1e7f13352bd5b31d8d24.zip
Add "is locked" search (refs #5419)
Diffstat (limited to 'archaeological_warehouse/models.py')
-rw-r--r--archaeological_warehouse/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py
index 996925d0a..2e2aae732 100644
--- a/archaeological_warehouse/models.py
+++ b/archaeological_warehouse/models.py
@@ -1024,7 +1024,7 @@ class Container(
"documents__associated_file__isnull",
"documents__associated_url__isnull",
]
- BOOL_FIELDS = ["container_type__stationary"]
+ BOOL_FIELDS = LightHistorizedItem.BOOL_FIELDS + ["container_type__stationary"]
REVERSED_MANY_COUNTED_FIELDS = ["finds", "finds_ref"]
ALT_NAMES.update(LightHistorizedItem.ALT_NAMES)