summaryrefslogtreecommitdiff
path: root/ishtar_common/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 /ishtar_common/models.py
parentd7effe6fae485d3b2d4bfbe1315bd3acf1d85e41 (diff)
downloadIshtar-915e294bcacf7bf79c90fc7ffb46f34d3902aaec.tar.bz2
Ishtar-915e294bcacf7bf79c90fc7ffb46f34d3902aaec.zip
🐛 fix many date and numeric searches (refs #5928)
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index def056425..9eeea5d66 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -4257,7 +4257,7 @@ class Document(
]
BOOL_FIELDS = BaseHistorizedItem.BOOL_FIELDS + ["duplicate"]
-
+ NUMBER_FIELDS = ["operations__year"]
COL_LABELS = {
"authors__cached_label": _("Authors"),
"complete_identifier": _("Identifier"),