From e9b24d11368bf0e5c92b3005f4ad45fa1e6c002c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 19 Jun 2024 16:06:43 +0200 Subject: ✨ criteria search: relative search for number criteria (refs #5349) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_context_records/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'archaeological_context_records') diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index 940b7347f..1e5d108bc 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -564,6 +564,7 @@ class ContextRecord( "documents__associated_file__isnull", "documents__associated_url__isnull", ] + NUMBER_FIELDS = ["operation__year"] RELATION_TYPES_PREFIX = { "ope_relation_types": "operation__", "cr_relation_types": "", -- cgit v1.2.3