summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-09-20 14:55:11 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2024-09-20 15:47:14 +0200
commitdf7b7527db7936d9a5014cd121525a36dbf57531 (patch)
treebca9afb0099135323ffe3c135f421b268f20fa0d /archaeological_operations/models.py
parent038d2ddee75aaccf0ad0c60d66efe09de69958e8 (diff)
downloadIshtar-df7b7527db7936d9a5014cd121525a36dbf57531.tar.bz2
Ishtar-df7b7527db7936d9a5014cd121525a36dbf57531.zip
✨ context records, finds search: add new fields
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 2f3cae888..fcfbb5e54 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -418,10 +418,11 @@ class ArchaeologicalSite(
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",
+ "collaborators__pk": "collaborators__pk", # dynamic_table_documents
+ "discoverer_id": "discoverer_id", # dynamic_table_documents
}
# alternative names of fields for searches