summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
authorValérie-Emma Leroux <emma@iggdrasil.net>2017-01-11 20:41:18 +0100
committerValérie-Emma Leroux <emma@iggdrasil.net>2017-01-11 20:41:18 +0100
commite50193c9c6c5d6d2ae50f0035ce6c9cf66d787fe (patch)
treed0fbcd2db93906f1aec28dbe6d658a531025edc4 /archaeological_operations/models.py
parent98c1b479cba0348a8253325ad98db555419d2570 (diff)
parentb8d1d34feafb626bb4351ffbf7fd7d2d43724c2d (diff)
downloadIshtar-e50193c9c6c5d6d2ae50f0035ce6c9cf66d787fe.tar.bz2
Ishtar-e50193c9c6c5d6d2ae50f0035ce6c9cf66d787fe.zip
Merge branch 'master' into master-trad
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 129040706..c8c291752 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -224,7 +224,10 @@ class Operation(ClosedItem, BaseHistorizedItem, ImageModel, OwnPerms,
'documentation_deadline_after': 'documentation_deadline__gte',
'finds_deadline_before': 'finds_deadline__lte',
'finds_deadline_after': 'finds_deadline__gte',
+ 'related_treatment':
+ 'context_record__base_finds__find__upstream_treatment__id'
}
+
EXTRA_FULL_FIELDS_LABELS = {
'full_code_patriarche': u"Code patriarche",
'year_index': _(u"Year - Index"),