trac-vote-plugin / 0.11 / tracvote / SqlQueryForReport.txt

The default branch has multiple heads

-- ## Popular Voted Tickets ## --

-- The following is taken from the Edgewall
-- Trac site:
-- See also:

-- Tickets ordered by number of votes (> 1)
-- You must be [/prefs registered] to vote.

SELECT p.value AS __color__,
   t.type AS type, id AS ticket, sum( as votes, summary, component, version,
   time AS created,
   changetime AS _changetime, description AS _description,
   reporter AS _reporter
  FROM ticket t, enum p, votes v
  WHERE status <> 'closed'
AND = t.priority AND p.type = 'priority'
AND v.resource = 'ticket/' || id
GROUP BY id, summary, component, version, milestone, t.type, owner,
  changetime, description, reporter, p.value, status
HAVING sum( > 1
 ORDER BY votes DESC, milestone, t.type, time