Commit aa98e681 authored by Roman Zimmermann's avatar Roman Zimmermann

Use as_unicode() on filter names.

parent 08a8a8dc
......@@ -1534,7 +1534,7 @@ class BaseModelView(BaseView, ActionsMixin):
value = request.args[n]
if flt.validate(value):
filters.append((pos, (idx, flt.name, value)))
filters.append((pos, (idx, as_unicode(flt.name), value)))
else:
flash(gettext('Invalid Filter Value: %(value)s', value=value))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment