Commit 55c9b770adce4a904c8e02f6f6e80e35d6d4fe4b

Authored by janek37
1 parent 89905235

poprawione filtrowanie "różne od puste" dla otwartych atrybutów

dictionary/ajax_lexeme_slickgrid.py
... ... @@ -118,8 +118,9 @@ class LexemeQuery(SlickGridQuery):
118 118 'extra': (
119 119 'attribute_value_id', 'dictionary_lexemeav', 'lexeme_id', int),
120 120 }
121   - if (field in indirect_fields or field.startswith('extra')) \
122   - and lookup == '-exact':
  121 + if lookup == '-exact' and (
  122 + field in indirect_fields
  123 + or field.startswith('extra') and attr.closed):
123 124 if field.startswith('extra'):
124 125 field1, table, field2, f = indirect_fields['extra']
125 126 else:
... ...