summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_treatments.py
diff options
context:
space:
mode:
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
commitcc1eb217bd22da8fcad3bc0fd785a6889e0be157 (patch)
treeb3aa5c0104016c4fb84f656f051ce0206e61a5f1 /archaeological_finds/models_treatments.py
parent1aa3218151854fcbbdc0be627bc2bd951aa567ba (diff)
downloadIshtar-cc1eb217bd22da8fcad3bc0fd785a6889e0be157.tar.bz2
Ishtar-cc1eb217bd22da8fcad3bc0fd785a6889e0be157.zip
Search vectors for authors and sources
Diffstat (limited to 'archaeological_finds/models_treatments.py')
-rw-r--r--archaeological_finds/models_treatments.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py
index 6c173959a..38d4f55b3 100644
--- a/archaeological_finds/models_treatments.py
+++ b/archaeological_finds/models_treatments.py
@@ -594,6 +594,7 @@ class TreatmentSource(Source):
TABLE_COLS = ['treatment__cached_label'] + Source.TABLE_COLS
COL_LABELS = {'treatment__cached_label': _(u"Treatment")}
SHOW_URL = 'show-treatmentsource'
+ PARENT_SEARCH_VECTORS = Source.PARENT_SEARCH_VECTORS + ['treatment']
class Meta:
verbose_name = _(u"Treatment documentation")
@@ -628,6 +629,7 @@ class TreatmentFileSource(Source):
TABLE_COLS = ['treatment_file__cached_label'] + Source.TABLE_COLS
COL_LABELS = {'treatment_file__cached_label': _(u"Treatment file")}
SHOW_URL = 'show-treatmentfilesource'
+ PARENT_SEARCH_VECTORS = Source.PARENT_SEARCH_VECTORS + ['treatment_file']
class Meta:
verbose_name = _(u"Treatment request documentation")