summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2026-04-24 16:34:07 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2026-04-24 16:53:20 +0200
commit14eb8da0f0db27c03fc23628be88b85e0e1169ae (patch)
tree20a98627614a3d7c92302aa4d1320639563086c6 /archaeological_operations
parentfb8f2ab9b8fc95bfa63b5d749a1c79ce8a55756c (diff)
downloadIshtar-14eb8da0f0db27c03fc23628be88b85e0e1169ae.tar.bz2
Ishtar-14eb8da0f0db27c03fc23628be88b85e0e1169ae.zip
✨ sheet: display editors - add editors link on person sheet (refs #6718)
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/models.py3
-rw-r--r--archaeological_operations/templates/ishtar/sheet_site.html1
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 %}