| 1 | = Recently closed tickets = |
| 2 | |
| 3 | {{{ |
| 4 | #!SQLTable |
| 5 | SELECT owner, to_date(to_char(to_timestamp(changetime),'MM-DD-YYYY'),'MM-DD-YYYY') as lastchange, scheduled, resolution, component, t.type AS type, project || ':#' || id AS ticket, summary |
| 6 | FROM multitrac_query('status = ''closed'' AND owner <> ''''') t |
| 7 | LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority' |
| 8 | WHERE to_date(to_char(to_timestamp(changetime),'MM-DD-YYYY'),'MM-DD-YYYY') > current_date - 14 ORDER BY lastchange DESC, owner, scheduled |
| 9 | |
| 10 | }}} |