diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-05-30 16:53:46 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-12 08:49:36 +0200 |
commit | 959d12d757ea9f03e880be165d7cca714b61c27e (patch) | |
tree | 455e90208f8ebf92b8a40344d2665dc4f58d2873 /archaeological_finds/forms.py | |
parent | 30c086b67ee08bae080f3ee4b19b16aaf9b12bc0 (diff) | |
download | Ishtar-959d12d757ea9f03e880be165d7cca714b61c27e.tar.bz2 Ishtar-959d12d757ea9f03e880be165d7cca714b61c27e.zip |
Fix image search
Diffstat (limited to 'archaeological_finds/forms.py')
-rw-r--r-- | archaeological_finds/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index 8cb2fd0aa..def29a327 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -474,7 +474,7 @@ class FindSelect(TableSelect): base_finds__batch = forms.ChoiceField( label=_(u"Batch/object"), choices=[]) checked = forms.ChoiceField(label=_("Check")) - image__isnull = forms.NullBooleanField(label=_(u"Has an image?")) + images__pk__isnull = forms.NullBooleanField(label=_(u"Has an image?")) def __init__(self, *args, **kwargs): super(FindSelect, self).__init__(*args, **kwargs) |