From 993ee1b07466529c6daa1649cd38f72f0a170dc5 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_finds/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_finds/forms.py') diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index a01bd45a6..6107b744e 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -432,7 +432,7 @@ class FindSelect(TableSelect): base_finds__cache_short_id = forms.CharField(label=_(u"Short ID")) base_finds__cache_complete_id = forms.CharField(label=_(u"Complete ID")) label = forms.CharField(label=_(u"Free ID")) - base_finds__context_record__parcel__town = get_town_field() + base_finds__context_record__town = get_town_field() base_finds__context_record__operation__year = forms.IntegerField( label=_(u"Year")) base_finds__context_record__operation__operation_code = forms.IntegerField( -- cgit v1.2.3