From 6d6e44b1597087dc7726fd1d407433f73621928c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 1 Oct 2018 16:34:52 +0200 Subject: Sheet person: fix related tables --- archaeological_files/models.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'archaeological_files/models.py') diff --git a/archaeological_files/models.py b/archaeological_files/models.py index 3a397e551..4d0422f3c 100644 --- a/archaeological_files/models.py +++ b/archaeological_files/models.py @@ -110,6 +110,10 @@ class File(ClosedItem, BaseHistorizedItem, OwnPerms, ValueGetter, 'history_creator': 'history_creator__ishtaruser__person__pk', 'history_modifier': 'history_modifier__ishtaruser__person__pk', 'towns_label': 'towns', + 'general_contractor__pk': 'general_contractor__pk', + 'responsible_town_planning_service__pk': + 'responsible_town_planning_service__pk', + 'in_charge__pk': 'in_charge__pk', } BASE_SEARCH_VECTORS = [ 'name', 'internal_reference', 'file_type__label', 'saisine_type__label', -- cgit v1.2.3