summaryrefslogtreecommitdiff
path: root/archaeological_operations/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_operations/models.py
parent5d9d9a35eb15eb5cfee880ca1ef185dcf16b2817 (diff)
downloadIshtar-47b8c7e1acddb890ecce1e7f13352bd5b31d8d24.tar.bz2
Ishtar-47b8c7e1acddb890ecce1e7f13352bd5b31d8d24.zip
Add "is locked" search (refs #5419)
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 1567fecc6..ae52e5cbe 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -310,8 +310,6 @@ class ArchaeologicalSite(
DATED_FIELDS = BaseHistorizedItem.DATED_FIELDS + ["sinking_date"]
- BOOL_FIELDS = BaseHistorizedItem.BOOL_FIELDS
-
EXTRA_REQUEST_KEYS = {
"towns_label": "towns",
"collaborators__pk": "collaborators__pk", # dynamic_table_documents
@@ -919,7 +917,7 @@ class Operation(
STATISTIC_MODALITIES = [key for key, lbl in STATISTIC_MODALITIES_OPTIONS.items()]
# search parameters
- BOOL_FIELDS = [
+ BOOL_FIELDS = BaseHistorizedItem.BOOL_FIELDS + [
"end_date__isnull",
"virtual_operation",
"documentation_received",