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 | 271873408f84e70a0639959d75305a05f17dc920 (patch) | |
| tree | 5e5c3e275c270673e93af8954c727fa3023fc7bf | |
| parent | 5e3591118662cee199825c091cd58a58137d9546 (diff) | |
| download | Ishtar-271873408f84e70a0639959d75305a05f17dc920.tar.bz2 Ishtar-271873408f84e70a0639959d75305a05f17dc920.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?"))  | 
