diff options
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r-- | archaeological_operations/models.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index b5e6a7754..5769391ad 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -131,7 +131,10 @@ class ArchaeologicalSite(BaseHistorizedItem, OwnPerms, ValueGetter, COL_LABELS = {'towns_label': _(u"Towns")} - EXTRA_REQUEST_KEYS = {'towns_label': 'towns'} + EXTRA_REQUEST_KEYS = { + 'towns_label': 'towns', + 'collaborators__pk': 'collaborators__pk', # dynamic_table_documents + } # alternative names of fields for searches ALT_NAMES = { @@ -524,9 +527,10 @@ class Operation(ClosedItem, BaseHistorizedItem, OwnPerms, ValueGetter, 'related_treatment': 'context_record__base_finds__find__upstream_treatment__id', 'towns_label': 'towns', - 'scientist__pk': 'scientist__pk', - 'in_charge__pk': 'in_charge__pk', - 'collaborators__pk': 'collaborators__pk', + 'scientist__pk': 'scientist__pk', # dynamic_table_documents + 'in_charge__pk': 'in_charge__pk', # dynamic_table_documents + 'collaborators__pk': 'collaborators__pk', # dynamic_table_documents + 'cira_rapporteur__pk': 'cira_rapporteur__pk' # dynamic_table_documents } COL_LABELS = { |