diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-12-18 18:56:31 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-02-05 10:51:52 +0100 |
commit | ff02c4b717b665f3671cd8168c91a41dc06e1728 (patch) | |
tree | d5de7905864667f73939ecd45ca8c938167bd103 /archaeological_operations | |
parent | e5c704cbe7d3bd3e805aee3b767267539e2a963e (diff) | |
download | Ishtar-ff02c4b717b665f3671cd8168c91a41dc06e1728.tar.bz2 Ishtar-ff02c4b717b665f3671cd8168c91a41dc06e1728.zip |
✨ imports: add search criteria
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 3ebf98349..cec9b0869 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -49,6 +49,7 @@ from ishtar_common.models import ( GeneralRelationType, GeneralType, GeoVectorData, + Imported, IshtarUser, LightHistorizedItem, OperationType, @@ -434,6 +435,7 @@ class ArchaeologicalSite( ALT_NAMES.update(BaseHistorizedItem.ALT_NAMES) ALT_NAMES.update(DocumentItem.ALT_NAMES) ALT_NAMES.update(GeoItem.ALT_NAMES) + ALT_NAMES.update(Imported.ALT_NAMES) UP_MODEL_QUERY = { "operation": ( @@ -1256,6 +1258,7 @@ class Operation( ALT_NAMES.update(BaseHistorizedItem.ALT_NAMES) ALT_NAMES.update(DocumentItem.ALT_NAMES) ALT_NAMES.update(GeoItem.ALT_NAMES) + ALT_NAMES.update(Imported.ALT_NAMES) QA_EDIT = QuickAction( url="operation-qa-bulk-update", |