Opened 18 years ago
Closed 18 years ago
#4197 closed defect (fixed)
custom reports says ticket-custom but documentation says custum_ticket field
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | 0.11 |
Component: | ticket system | Version: | 0.10.1 |
Severity: | normal | Keywords: | custom documentation |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
drove myself crazy for a while.
I'm running sqlLite for the database back end of trac 0.10.1.
I couldn't get my custom report to work…below is the query that finally worked…
' *' ELSE owner END) AS owner FROM ticket t, enum p, ticket_custom c |
WHERE status IN ('new', 'assigned', 'reopened') AND p.name = t.priority AND p.type = 'priority' AND t.id = c.ticket and c.name = 'time_estimate' ORDER BY milestone, t.type, time
All the documentaion that I've found says that the custom fields table should be accessed using custom_ticket. I kept getting an error saying that custom_ticket table didn't exist. In desperation I tried ticket_custom and voila! it worked.
Attachments (0)
Change History (1)
comment:1 by , 18 years ago
Component: | general → ticket system |
---|---|
Keywords: | documentation added |
Milestone: | → 0.11 |
Resolution: | → fixed |
Status: | new → closed |
Confirmed, documentation bug. TracTicketsCustomFields is the only instance of
custom_ticket
in a wiki page that I can find, now fixed. This should be in the new wiki-default pages.