web/views/schema.py
branchstable
changeset 7811 c468ff909e98
parent 7782 40a49f4350a5
child 7845 2172978be237
--- 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'<a class="%s" href="%s">%s</a>' % (
                 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'<br/>'.join(groups))
             w(u'</td><td>')
             w(u'<br/>'.join(rqlexprs))