summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-10-30 22:16:59 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-10-30 22:16:59 +0100
commit6ef3532a6e3cfba73d225f3e6de7a92d228d6f95 (patch)
treec22b0600ea763e0e31fdb0f20a156fd71cd11321 /archaeological_context_records/models.py
parentcd9f9cc4b511b9e02a106954ad6050e5c5373a4a (diff)
downloadIshtar-6ef3532a6e3cfba73d225f3e6de7a92d228d6f95.tar.bz2
Ishtar-6ef3532a6e3cfba73d225f3e6de7a92d228d6f95.zip
Sheet operation: fix context record list
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index 0aa5c961d..89f3edee4 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -254,6 +254,8 @@ class ContextRecord(BulkUpdatedItem, BaseHistorizedItem,
'label': 'label__icontains',
'archaeological_sites': 'operation__archaeological_sites__pk',
'cached_label': 'cached_label__icontains',
+ 'datings__period__label': 'datings__period__label',
+ 'operation_id': 'operation_id',
}
RELATION_TYPES_PREFIX = {'ope_relation_types': 'operation__',
'cr_relation_types': ''}