{18} Active Tickets by Owner (order by desc id)

List active tickets, group by ticket owner, sorted by priority.

Report execution failed:
AmbiguousColumn: column reference "description" is ambiguous
LINE 5:    changetime AS _changetime, description AS _description,
                                      ^

SELECT COUNT(*) FROM (
SELECT p.value AS __color__,
   owner AS __group__,
   id AS ticket, summary, component, milestone, time AS created,
   changetime AS _changetime, description AS _description,
   reporter AS _reporter, t.priority, t.severity, t.type AS type, status 
  FROM ticket t
  LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority'
  LEFT JOIN enum s ON s.name = t.severity AND s.type = 'severity'
  LEFT JOIN enum y ON y.name = t.type     AND y.type = 'type'
  WHERE status <> 'closed'
  ORDER BY owner desc, id desc

) AS tab
Note: See TracReports for help on using and creating reports.