Created
May 15, 2009 12:42
-
-
Save wheresalice/112195 to your computer and use it in GitHub Desktop.
Display open Trac tickets modified in the past 10 days
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT p.value AS __color__, | |
id AS ticket, summary, component, version, t.type AS type, | |
owner, status, | |
time AS created, | |
changetime AS _changetime, description AS _description, | |
reporter AS _reporter | |
FROM ticket t, enum p | |
WHERE status <> 'closed' | |
AND unix_timestamp(date_sub(now(), interval 10 day)) < changetime | |
AND p.name = t.priority AND p.type = 'priority' | |
ORDER BY changetime desc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment