From cd6769ddb29a86226c564a953a5a3f9e5bf719d4 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 30 Aug 2022 17:49:23 +0200 Subject: Fix many count search such has "has-finds" (refs #5425) --- archaeological_warehouse/forms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'archaeological_warehouse/forms.py') diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py index 57fc31f4f..e942878a7 100644 --- a/archaeological_warehouse/forms.py +++ b/archaeological_warehouse/forms.py @@ -512,7 +512,8 @@ class ContainerSelect(DocumentItemSelect): old_reference = forms.CharField(label=_("Old reference")) comment = forms.CharField(label=_("Comment")) contain_containers = forms.NullBooleanField(label=_("Contain containers")) - empty = forms.NullBooleanField(label=_("Currently empty")) + ## to be rethink: the current request if it has got finds directly inside + # empty = forms.NullBooleanField(label=_("Currently empty")) is_stationary = forms.NullBooleanField(label=_("Is stationary")) parent = forms.IntegerField( label=_("Parent container"), -- cgit v1.2.3