diff options
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 |
commit | aaab5495e7af16c339875379e0f53cc821e5f130 (patch) | |
tree | b4f5caee4458929bddb2371863abd9a2d1163ee8 /archaeological_operations/models.py | |
parent | e1f4d124c87c0dc0c78d245c4daa61a3778d03ec (diff) | |
download | Ishtar-aaab5495e7af16c339875379e0f53cc821e5f130.tar.bz2 Ishtar-aaab5495e7af16c339875379e0f53cc821e5f130.zip |
Add "is locked" search (refs #5419)
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r-- | archaeological_operations/models.py | 4 |
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", |