ClipManager.filter_annotations: fix 'opterator' typo (fixes #2832)
This commit is contained in:
parent
8759b569da
commit
da1ad5b9c1
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ class ClipManager(Manager):
|
||||||
'=': '__icontains',
|
'=': '__icontains',
|
||||||
'^': '__istartswith',
|
'^': '__istartswith',
|
||||||
'$': '__iendswith',
|
'$': '__iendswith',
|
||||||
}.get(condition.get('opterator', ''), '__icontains'))
|
}.get(condition.get('operator', ''), '__icontains'))
|
||||||
v = condition['value']
|
v = condition['value']
|
||||||
if isinstance(v, unicode):
|
if isinstance(v, unicode):
|
||||||
v = unicodedata.normalize('NFKD', v).lower()
|
v = unicodedata.normalize('NFKD', v).lower()
|
||||||
|
|
Loading…
Reference in a new issue