Steffen Hoffmann wrote: > Chris Nelson wrote: >> I have something that displays a Gantt in a Trac wiki page from fixed >> sample data and allows configuration of all jsGantt options from the >> macro invocation. The next step is querying for tickets to display. >> Any thoughts on how you'd want to do that? By milestone? By owner? >> By date range? If nothing is specified, all open tickets? > > I'd do it same way as I did ticket selection in > WikiTicketCalenderMacro. You may wish to take a look at corresponding > revisions here: > http://trac-hacks.org/log/wikiticketcalendarmacro?rev=8272&stop_rev=8270 > > Original idea is not mine, but I still think of TracQuery as a > sophisticated ticket selection, and you don't have to document and > learn new syntax as it is already known by many Trac users.
A standard query mechanism is a good idea. But... 1. The only thing I see about TicketQuery() at the link you provide is a comment. 2. How do you handle things Trac doesn't know about yet like children? I'd like some way to say, "Show ticket 1234 and all its descendants." -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to trac-...@googlegroups.com. To unsubscribe from this group, send email to trac-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en.