1. Olemis Lang
  2. Trac

Commits

Odd Simon Simonsen  committed 71b338a

0.13dev: Merged [10892] from 0.12-stable. Thanks to Peter Stuge for debugging issue & providing fix.

  • Participants
  • Parent commits 2b5d376
  • Branches trunk

Comments (0)

Files changed (1)

File trac/ticket/report.py

View file
  • Ignore whitespace
 
             sort_col = req.args.get('sort', '')
             order_cols = []
+            if '__group__' in cols:
+                order_cols.append('__group__')
             if sort_col:
-                if '__group__' in cols:
-                    order_cols.append('__group__')
                 if sort_col in cols:
                     order_cols.append(sort_col)
                 else: