我正在使用以下内容显示已关闭的票证,新关闭的票证位于顶部:
SELECT
p.value AS __color__,
id AS ticket,
summary,
component,
version,
milestone,
t.type AS type,
owner,
status,
time AS created,
changetime AS _changetime,
description AS _description,
reporter AS _reporter
FROM ticket t
LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority'
WHERE status = 'closed'
ORDER BY changetime DESC, time DESC, CAST(p.value AS integer), milestone, t.type, time
以下是当前显示的列:
Ticket
Summary
Component
Version
Milestone
Type
Owner
Status
Created
我想将关闭的日期添加到报告视图(可能还有第三列显示日期差异)。我该怎么办?