summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-08-08 12:28:23 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-08-13 18:26:03 +0200
commit41d203dade38f31ea1209f61d8b4ae125a8360b7 (patch)
treef4a2213a5dc3593508edcd5af0ab1310b1e2e49d /archaeological_operations
parent03feb98bab22554c7c55f9f607baab167a35753a (diff)
downloadIshtar-41d203dade38f31ea1209f61d8b4ae125a8360b7.tar.bz2
Ishtar-41d203dade38f31ea1209f61d8b4ae125a8360b7.zip
Organization: cached label management
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/models.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 28bc4614a..dd3302251 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -402,6 +402,14 @@ class Operation(ClosedItem, BaseHistorizedItem, OwnPerms, ValueGetter,
pgettext_lazy(TXT_SEARCH_COMMENT, u"in-charge"),
'in_charge__cached_label__iexact'
),
+ 'scientist': (
+ pgettext_lazy(TXT_SEARCH_COMMENT, u"scientist"),
+ 'scientist__cached_label__iexact'
+ ),
+ 'operator': (
+ pgettext_lazy(TXT_SEARCH_COMMENT, u"operator"),
+ 'operator__cached_label__iexact'
+ ),
'periods': (
pgettext_lazy(TXT_SEARCH_COMMENT, u"period"),
'periods__pk'