summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index a3fe2ea3f..fc3a8a097 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -486,6 +486,7 @@ class ArchaeologicalSite(
"collaborators__pk": "collaborators__pk", # dynamic_table_documents
"discoverer_id": "discoverer_id", # dynamic_table_documents
"types__label": "types__label",
+ "editors__person_id": "editors__person_id", # dynamic_table_documents
}
# alternative names of fields for searches
@@ -1463,6 +1464,7 @@ class Operation(
"collaborators__pk": "collaborators__pk", # dynamic_table_documents
"cira_rapporteur__pk": "cira_rapporteur__pk", # dynamic_table_documents
"operator__pk": "operator__pk", # dynamic_table_documents
+ "editors__person_id": "editors__person_id", # dynamic_table_documents
}
COL_LABELS = {
@@ -3180,6 +3182,7 @@ class AdministrativeAct(DocumentItem, BaseHistorizedItem, OwnPerms, ValueGetter,
),
"signature_date": "signature_date",
"year": "signature_date__year",
+ "editors__person_id": "editors__person_id", # dynamic_table_documents
}
REVERSED_BOOL_FIELDS = [
"index__isnull",