diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-01-19 15:35:43 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-01-19 15:35:43 +0100 |
commit | 1da5669b4e24621d43a1e6c9c7a519e180a9e302 (patch) | |
tree | b3aa5c0104016c4fb84f656f051ce0206e61a5f1 /archaeological_operations/models.py | |
parent | 6b8d331994d4aecb8579423a67d9fd9e497e7d7e (diff) | |
download | Ishtar-1da5669b4e24621d43a1e6c9c7a519e180a9e302.tar.bz2 Ishtar-1da5669b4e24621d43a1e6c9c7a519e180a9e302.zip |
Search vectors for authors and sources
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r-- | archaeological_operations/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 2f1ea3ea3..5c3b91e9f 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -924,6 +924,8 @@ class OperationSource(Source): 'operation__operation_code': _(u"Operation code"), 'code': _(u"Document code") } + PARENT_SEARCH_VECTORS = Source.PARENT_SEARCH_VECTORS + ['operation'] + # fields operation = models.ForeignKey(Operation, verbose_name=_(u"Operation"), |