From 47b8c7e1acddb890ecce1e7f13352bd5b31d8d24 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 17 Aug 2022 14:54:02 +0200 Subject: Add "is locked" search (refs #5419) --- archaeological_operations/models.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'archaeological_operations/models.py') 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", -- cgit v1.2.3