I had a similar problem which i fixed by changing the report to:
{{{
SELECT p.value AS __color__,
t.milestone AS __group__,
(CASE status
WHEN 'closed' THEN 'color: #777; background: #ddd; border-color:
#ccc;'
ELSE
(CASE owner WHEN '$USER' THEN 'font-weight: bold' END)
END) AS __style__,
id AS ticket, summary, component, status,
resolution,version, t.type AS type, priority, owner,
time AS _time,reporter AS _reporter
FROM ticket t,enum p
WHERE p.name=t.priority AND p.type='priority'
ORDER BY (milestone IS NULL), milestone DESC, (status = 'closed'), p.value
}}}
Regards
Ian
Ákos Maróy wrote:
I'm trying to access pre-defined report {6} All Tickets By Milestone
(Including closed) on my track installation, but I get the following
error:
Report execution failed: ERROR: column "modified" does not exist SELECT
p.value AS __color__, t.milestone AS __group__, (CASE status WHEN
'closed' THEN 'color: #777; background: #ddd; border-color: #ccc;' ELSE
(CASE owner WHEN 'anonymous' THEN 'font-weight: bold' END) END) AS
__style__, id AS ticket, summary, component, status, resolution,version,
t.type AS type, priority, owner, changetime AS modified, time AS
_time,reporter AS _reporter FROM ticket t,enum p WHERE p.name=t.priority
AND p.type='priority' ORDER BY (milestone IS NULL), milestone DESC,
(status = 'closed'), (CASE status WHEN 'closed' THEN modified ELSE
(-1)*p.value END) DESC
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac