[ticket-custom]
due_date = text
due_date.label = due date
<||
>||
SELECT p.value AS __color__,
owner AS __group__,
id AS ticket, summary, component, milestone, t.type AS type, time AS created,
changetime AS _changetime, description AS _description,
c.value AS 'due date',
reporter AS _reporter
FROM ticket t
LEFT OUTER JOIN ticket_custom c ON (t.id = c.ticket AND c.name = 'due_date')
LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority'
WHERE status IN ('new', 'assigned', 'reopened') AND owner IN ( 'yoshi', 'satoshi', 'peter' ) AND t.type != 'feature request'
ORDER BY owner, p.value, t.type, time