diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-08-07 12:49:17 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-08-07 12:49:17 +0200 |
commit | a9505657720e0617dc744a314379d2512fb8b3e0 (patch) | |
tree | 1b964ded9356fb8282739fade48a75fca9788b6a /ishtar_common/models.py | |
parent | d838bd7bf35c687ae534857313cf89de1ed68dac (diff) | |
download | Ishtar-a9505657720e0617dc744a314379d2512fb8b3e0.tar.bz2 Ishtar-a9505657720e0617dc744a314379d2512fb8b3e0.zip |
🐛 searches: fix exact date searches for datetime fields (refs #6411)
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index b370624fb..00c3b49ce 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -4529,12 +4529,9 @@ class Document( # search parameters REVERSED_BOOL_FIELDS = ["image__isnull", "associated_file__isnull"] DATED_FIELDS = BaseHistorizedItem.DATED_FIELDS + [ - "receipt_date__lte", - "receipt_date__gte", - "receipt_date_in_documentation__lte", - "receipt_date_in_documentation__gte", - "creation_date__lte", - "creation_date__gte", + "receipt_date", + "receipt_date_in_documentation", + "creation_date", ] objects = ExternalIdManager() |