--- a/web/views/navigation.py Tue Sep 22 10:24:47 2015 +0200
+++ b/web/views/navigation.py Tue Sep 22 14:42:33 2015 +0200
@@ -50,6 +50,8 @@
from datetime import datetime
+from six import text_type
+
from rql.nodes import VariableRef, Constant
from logilab.mtconverter import xml_escape
@@ -192,10 +194,10 @@
return entity.printable_value(attrname, format='text/plain')
elif col is None: # smart links disabled.
def index_display(row):
- return unicode(row)
+ return text_type(row)
elif self._cw.vreg.schema.eschema(rset.description[0][col]).final:
def index_display(row):
- return unicode(rset[row][col])
+ return text_type(rset[row][col])
else:
def index_display(row):
return rset.get_entity(row, col).view('text')