From 707e0f9edcde92c47cd543325187e9e13b9ef43f Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 26 Jun 2024 10:16:18 +0200 Subject: ✨ criteria search: adapt searches for relative search (dates and numbers) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_operations/forms.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'archaeological_operations/forms.py') diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index c35cf47af..2340d36be 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -595,12 +595,10 @@ class OperationSelect(GeoItemSelect): profile = get_current_profile() if not profile.warehouse: self._remove_fields(( - 'documentation_deadline_before', - 'documentation_deadline_after', + 'documentation_deadline', 'documentation_received', 'documentation_deposit_date', - 'finds_deadline_before', - 'finds_deadline_after', + 'finds_deadline', 'finds_received', 'finds_deposit_date', )) -- cgit v1.2.3