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_warehouse/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_warehouse') 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) -- cgit v1.2.3