summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-03-24 11:00:38 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-03-24 11:00:38 +0100
commitcb8a0ed2da7a716c498e0ac519d8cb7d1b8e0be8 (patch)
tree572207b0f84f1f62df09efd8a52e9cc214151a1c /ishtar_common/models.py
parent1e3e7c99cfd3a4dc8455795cb081f2071ee78c7d (diff)
downloadIshtar-cb8a0ed2da7a716c498e0ac519d8cb7d1b8e0be8.tar.bz2
Ishtar-cb8a0ed2da7a716c498e0ac519d8cb7d1b8e0be8.zip
Fix dated field search (modified after/before)
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 7d634a680..5d034974d 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -3757,7 +3757,7 @@ class Document(
# search parameters
REVERSED_BOOL_FIELDS = ["image__isnull", "associated_file__isnull"]
- DATED_FIELDS = [
+ DATED_FIELDS = BaseHistorizedItem.DATED_FIELDS + [
"receipt_date__lte",
"receipt_date__gte",
"receipt_date_in_documentation__lte",