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 | 452f66e422b0c4d2783527da53aca39cc06be419 (patch) | |
tree | 455e90208f8ebf92b8a40344d2665dc4f58d2873 /archaeological_finds/forms.py | |
parent | 16ceb07f2559db7ebd20dc1ac529d3376a6c4aea (diff) | |
download | Ishtar-452f66e422b0c4d2783527da53aca39cc06be419.tar.bz2 Ishtar-452f66e422b0c4d2783527da53aca39cc06be419.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) |