Ticket #7512: 7512-report8-r7613.patch
| File 7512-report8-r7613.patch, 462 bytes (added by rblank, 4 years ago) |
|---|
-
trac/db_default.py
diff --git a/trac/db_default.py b/trac/db_default.py
a b 323 323 FROM ticket t 324 324 LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority' 325 325 WHERE status <> 'closed' 326 ORDER BY ( owner = $USER) DESC, """ + db.cast('p.value', 'int') +327 """, milestone, t.type, time326 ORDER BY (COALESCE(owner, '') = $USER) DESC, """ 327 + db.cast('p.value', 'int') + """, milestone, t.type, time 328 328 """)) 329 329 330 330
