diff options
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/models.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index aa4251273..a6e55a59e 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -122,11 +122,6 @@ class ArchaeologicalSite(DocumentItem, BaseHistorizedItem, QRCodeItem, 'cached_periods': _("Periods"), 'cached_remains': _("Remains"), } - EXTRA_REQUEST_KEYS = { - 'cached_towns_label': 'cached_towns_label', - 'cached_periods': 'cached_periods', - 'cached_remains': 'remains', - } LONG_SLUG = 'archaeologicalsite' STATISTIC_MODALITIES_OPTIONS = OrderedDict([ @@ -164,6 +159,9 @@ class ArchaeologicalSite(DocumentItem, BaseHistorizedItem, QRCodeItem, EXTRA_REQUEST_KEYS = { 'towns_label': 'towns', 'collaborators__pk': 'collaborators__pk', # dynamic_table_documents + 'cached_towns_label': 'cached_towns_label', + 'cached_periods': 'cached_periods', + 'cached_remains': 'remains', } # alternative names of fields for searches |