author | Rémi Cardona <remi.cardona@logilab.fr> |
Mon, 07 Sep 2015 18:42:47 +0200 | |
changeset 10889 | 310344d6cc6c |
parent 10888 | fbbb028d0a75 |
child 10890 | 504a67206fdc |
--- a/web/views/magicsearch.py Thu Sep 03 16:36:08 2015 +0200 +++ b/web/views/magicsearch.py Mon Sep 07 18:42:47 2015 +0200 @@ -645,7 +645,7 @@ vocab_kwargs = {} if rtype_incomplete_value: vocab_rql += ', X %s LIKE %%(value)s' % user_rtype - vocab_kwargs['value'] = '%s%%' % rtype_incomplete_value + vocab_kwargs['value'] = u'%s%%' % rtype_incomplete_value vocab += [value for value, in self._cw.execute(vocab_rql, vocab_kwargs)] return sorted(set(vocab))