From bd9e7d5d4f0eec90b0db39391e05919e4adb1342 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 5 Jun 2018 12:59:06 +0200 Subject: Context record towns: change column and search to point directly (not through parcel) --- archaeological_context_records/forms.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'archaeological_context_records/forms.py') diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py index 17e557283..0d68d6aa3 100644 --- a/archaeological_context_records/forms.py +++ b/archaeological_context_records/forms.py @@ -63,7 +63,7 @@ class RecordSelect(TableSelect): search_vector = forms.CharField(label=_(u"Full text search"), widget=widgets.SearchWidget) label = forms.CharField(label=_(u"ID"), max_length=100) - parcel__town = get_town_field() + town = get_town_field() if settings.COUNTRY == 'fr': operation__code_patriarche = forms.CharField( max_length=500, @@ -406,8 +406,8 @@ class RecordSourceSelect(SourceSelect): max_length=500, widget=OAWidget, label="Code PATRIARCHE") - context_record__parcel__town = get_town_field( - label=_(u"Town of the operation")) + context_record__town = get_town_field( + label=_(u"Town")) context_record__datings__period = forms.ChoiceField( label=_(u"Period of the context record"), choices=[]) context_record__unit = forms.ChoiceField( -- cgit v1.2.3