From dd83004867c24bb7521024df8c0660370606680f Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 27 Nov 2015 11:35:34 +0100 Subject: Finds: fix batch search --- archaeological_finds/forms.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index d2e100dcf..d61704259 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -163,8 +163,9 @@ class FindSelect(TableSelect): choices=[]) integrities = forms.ChoiceField(label=_(u"Integrity"), choices=[]) base_finds__find__description = forms.CharField(label=_(u"Description")) - base_finds__batch = forms.ChoiceField(label=_(u"Batch/object"), - choices=models.IS_ISOLATED_CHOICES) + base_finds__batch = forms.ChoiceField( + label=_(u"Batch/object"), + choices=[('', '--')] + list(models.IS_ISOLATED_CHOICES)) checked = forms.ChoiceField(label=_("Check")) image = forms.NullBooleanField(label=_(u"Has an image?")) -- cgit v1.2.3