web/views/schema.py
changeset 7845 2172978be237
parent 7810 21683b1975e3
parent 7811 c468ff909e98
child 8190 2a3c1b787688
child 8213 076c80543fcd
--- a/web/views/schema.py	Fri Sep 23 09:17:37 2011 +0200
+++ b/web/views/schema.py	Fri Sep 23 14:18:13 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))