summaryrefslogtreecommitdiff
path: root/archaeological_finds/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-11-27 11:35:34 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-11-27 11:35:34 +0100
commitdd83004867c24bb7521024df8c0660370606680f (patch)
tree5e5c3e275c270673e93af8954c727fa3023fc7bf /archaeological_finds/forms.py
parentd3c64727157247fb7dcdd7ec635307b69a8ad9e4 (diff)
downloadIshtar-dd83004867c24bb7521024df8c0660370606680f.tar.bz2
Ishtar-dd83004867c24bb7521024df8c0660370606680f.zip
Finds: fix batch search
Diffstat (limited to 'archaeological_finds/forms.py')
-rw-r--r--archaeological_finds/forms.py5
1 files 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?"))