From a252dd421144879060fbf08981b49f797a9a6653 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 24 Mar 2022 11:00:38 +0100 Subject: Fix dated field search (modified after/before) --- archaeological_finds/models_treatments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_finds/models_treatments.py') diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py index be7b07ee5..28e6618d6 100644 --- a/archaeological_finds/models_treatments.py +++ b/archaeological_finds/models_treatments.py @@ -1073,7 +1073,7 @@ class TreatmentFile( ALT_NAMES.update(BaseHistorizedItem.ALT_NAMES) ALT_NAMES.update(DocumentItem.ALT_NAMES) - DATED_FIELDS = [ + DATED_FIELDS = BaseHistorizedItem.DATED_FIELDS + [ "exhibition_start_date__lte", "exhibition_start_date__gte", "exhibition_end_date__lte", -- cgit v1.2.3