diff options
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 |
commit | dd83004867c24bb7521024df8c0660370606680f (patch) | |
tree | 5e5c3e275c270673e93af8954c727fa3023fc7bf | |
parent | d3c64727157247fb7dcdd7ec635307b69a8ad9e4 (diff) | |
download | Ishtar-dd83004867c24bb7521024df8c0660370606680f.tar.bz2 Ishtar-dd83004867c24bb7521024df8c0660370606680f.zip |
Finds: fix batch search
-rw-r--r-- | archaeological_finds/forms.py | 5 |
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?")) |