# HG changeset patch # User Sylvain Thénault # Date 1316503217 -7200 # Node ID c468ff909e98841d41825afaa732aedbdfbf877e # Parent aa30c665bd06afbe59ff7936a8c3fa99e78f0ef0 [schema view] fix label/name inversion leading to wrong css class / group url depending on user's language diff -r aa30c665bd06 -r c468ff909e98 web/views/schema.py --- a/web/views/schema.py Fri Sep 16 16:42:42 2011 +0200 +++ b/web/views/schema.py Tue Sep 20 09:20:17 2011 +0200 @@ -102,7 +102,7 @@ # XXX get group entity and call it's incontext view groups = [u'%s' % ( group, self._cw.build_url('cwgroup/%s' % group), label) - for group, label in sorted((_(g), g) for g in groups)] + for label, group in sorted((_(g), g) for g in groups)] w(u'
'.join(groups)) w(u'') w(u'
'.join(rqlexprs))