search values need to be decoded

This commit is contained in:
j 2012-02-22 13:14:35 +05:30
parent 601500581d
commit 9c5ba8614b

View file

@ -658,7 +658,7 @@ class Item(models.Model):
if not value: if not value:
value = None value = None
if isinstance(value, basestring): if isinstance(value, basestring):
value = value.lower() value = ox.decodeHtml(value.lower())
setattr(s, name, value) setattr(s, name, value)
base_keys = ( base_keys = (