[Trac] Re: custom fields in reports
Matthew Good
trac at matt-good.net
Fri Feb 4 10:10:23 EST 2005
On Fri, 2005-02-04 at 12:23 +1100, James Whitwell wrote:
> Brad Anderson wrote:
> > http://projects.edgewall.com/trac/wiki/TracTicketsCustomFields
>
> Sorry, I know how to make the fields, but is it possible to include them
> in reports? I couldn't see that on the page you pointed to.
Yes, you should be able to do this, as reports are just SQL. The Query
module already allows searching on the custom fields. The code in there
is a little complicated to dig through, but basically you'll need to do
a join on the ticket_custom table.
--
Matthew Good <trac at matt-good.net>
More information about the Trac
mailing list