OperationalError: no such column: "Feedback pending" - should this be a string literal in single-quotes?
SELECT COUNT(*) FROM (
SELECT e.value AS __color__,
id AS ticket, summary, component, version, t.type AS type,
reporter,
owner,
status,
changetime AS modified,
time AS created,
t.description AS _description,
reporter AS _reporter
FROM ticket t, enum e
WHERE status <> 'closed'
AND t.priority = "Feedback pending"
AND e.type = 'priority'
AND t.priority = e.name
ORDER BY changetime desc
) AS tab
Note:
See TracReports
for help on using and creating reports.