summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-07-09 11:53:00 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2024-07-09 11:53:00 +0200
commit915e294bcacf7bf79c90fc7ffb46f34d3902aaec (patch)
tree1e8aab73d44e23139571665e35cd722ed3afca28 /archaeological_operations/models.py
parentd7effe6fae485d3b2d4bfbe1315bd3acf1d85e41 (diff)
downloadIshtar-915e294bcacf7bf79c90fc7ffb46f34d3902aaec.tar.bz2
Ishtar-915e294bcacf7bf79c90fc7ffb46f34d3902aaec.zip
🐛 fix many date and numeric searches (refs #5928)
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py2
1 files changed, 1 insertions, 1 deletions
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"),