diff options
| -rw-r--r-- | archaeological_finds/models_treatments.py | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py index 2a19957c8..89364f0fe 100644 --- a/archaeological_finds/models_treatments.py +++ b/archaeological_finds/models_treatments.py @@ -957,6 +957,11 @@ class TreatmentFile(DashboardFormItem, ClosedItem, DocumentItem,      }      ALT_NAMES.update(BaseHistorizedItem.ALT_NAMES) +    DATED_FIELDS = ['exhibition_start_date__lte', +                    'exhibition_start_date__gte', +                    'exhibition_end_date__lte', +                    'exhibition_end_date__gte'] +      # fields      year = models.IntegerField(_(u"Year"), default=get_current_year)      index = models.IntegerField(_(u"Index"), default=1) | 
