diff options
Diffstat (limited to 'archaeological_operations')
| -rw-r--r-- | archaeological_operations/models.py | 3 | ||||
| -rw-r--r-- | archaeological_operations/templates/ishtar/sheet_site.html | 1 |
2 files changed, 3 insertions, 1 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", diff --git a/archaeological_operations/templates/ishtar/sheet_site.html b/archaeological_operations/templates/ishtar/sheet_site.html index 2ce9e7eaa..b153e5795 100644 --- a/archaeological_operations/templates/ishtar/sheet_site.html +++ b/archaeological_operations/templates/ishtar/sheet_site.html @@ -166,7 +166,6 @@ {% if item.history_creator or item.last_edition_date or item.created or item.editors.count %} <h3>{% trans "Sheet"%}</h3> <div class="row"> - {% field_flex_multiple _("Editors") item.editors %} {% include "ishtar/blocks/sheet_creation_section.html" %} </div> {% endif %} |
