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
commit271873408f84e70a0639959d75305a05f17dc920 (patch)
tree5e5c3e275c270673e93af8954c727fa3023fc7bf /archaeological_finds/forms.py
parent5e3591118662cee199825c091cd58a58137d9546 (diff)
downloadIshtar-271873408f84e70a0639959d75305a05f17dc920.tar.bz2
Ishtar-271873408f84e70a0639959d75305a05f17dc920.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?"))