summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-06-19 16:06:43 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2024-06-19 16:06:43 +0200
commite9b24d11368bf0e5c92b3005f4ad45fa1e6c002c (patch)
treeb4bed675666dc1d997298a40410a54a1ae68aab9 /archaeological_context_records/models.py
parentbaa8b37fe683828cb2471f1616d5d8ad36e91920 (diff)
downloadIshtar-e9b24d11368bf0e5c92b3005f4ad45fa1e6c002c.tar.bz2
Ishtar-e9b24d11368bf0e5c92b3005f4ad45fa1e6c002c.zip
✨ criteria search: relative search for number criteria (refs #5349)
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py1
1 files changed, 1 insertions, 0 deletions
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": "",