From 915e294bcacf7bf79c90fc7ffb46f34d3902aaec Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 9 Jul 2024 11:53:00 +0200 Subject: 🐛 fix many date and numeric searches (refs #5928) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_operations/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_operations/models.py') diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 7e3b0254f..60a9dbfca 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -2651,7 +2651,7 @@ class AdministrativeAct(DocumentItem, BaseHistorizedItem, OwnPerms, ValueGetter, "documents__associated_url__isnull", "documents__associated_file__isnull", ] - NUMBER_FIELDS = ["year", "index"] + NUMBER_FIELDS = ["signature_date__year", "index"] RELATIVE_SESSION_NAMES = [ ("operation", "operation__pk"), ("file", "associated_file__pk"), -- cgit v1.2.3