diff options
| -rw-r--r-- | archaeological_finds/forms.py | 2 | ||||
| -rw-r--r-- | archaeological_finds/models_finds.py | 3 | ||||
| -rw-r--r-- | ishtar_common/widgets.py | 1 | 
3 files changed, 3 insertions, 3 deletions
| diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index 7688b2340..2c367043c 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -363,7 +363,7 @@ class FindSelect(TableSelect):      base_finds__batch = forms.ChoiceField(          label=_(u"Batch/object"), choices=[])      checked = forms.ChoiceField(label=_("Check")) -    image = forms.NullBooleanField(label=_(u"Has an image?")) +    image__isnull = forms.NullBooleanField(label=_(u"Has an image?"))      def __init__(self, *args, **kwargs):          super(FindSelect, self).__init__(*args, **kwargs) diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index bf5ba6380..5c28d1a69 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -562,7 +562,8 @@ class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):          'base_finds__batch': 'base_finds__batch',          'basket': 'basket',          'cached_label': 'cached_label__icontains', -        'image': 'image__isnull'} +        'image__isnull': 'image__isnull', +    }      EXTRA_REQUEST_KEYS.update(          dict(              [(key, key) for key in TABLE_COLS diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py index 597fb2764..3fbf24f29 100644 --- a/ishtar_common/widgets.py +++ b/ishtar_common/widgets.py @@ -662,7 +662,6 @@ class JQueryJqGrid(forms.RadioSelect):                  dct['extra_sources'].append((                      imp.slug, imp.name,                      reverse('get-by-importer', args=[imp.slug]))) -          dct.update({'name': name,                      'col_names': col_names,                      'extra_cols': extra_cols, | 
