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 | cc1eb217bd22da8fcad3bc0fd785a6889e0be157 (patch) | |
tree | b3aa5c0104016c4fb84f656f051ce0206e61a5f1 /archaeological_operations/models.py | |
parent | 1aa3218151854fcbbdc0be627bc2bd951aa567ba (diff) | |
download | Ishtar-cc1eb217bd22da8fcad3bc0fd785a6889e0be157.tar.bz2 Ishtar-cc1eb217bd22da8fcad3bc0fd785a6889e0be157.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"), |