summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_treatments.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/models_treatments.py')
-rw-r--r--archaeological_finds/models_treatments.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py
index eb149b0de..168c87e2f 100644
--- a/archaeological_finds/models_treatments.py
+++ b/archaeological_finds/models_treatments.py
@@ -196,6 +196,7 @@ class Treatment(
SearchVectorConfig("upstream__cached_label"),
]
PARENT_SEARCH_VECTORS = ["person", "organization"]
+ GET_VALUES_M2M = ["treatment_types"]
objects = ExternalIdManager()
label = models.CharField(_("Label"), blank=True, null=True, max_length=200)