-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chris Nelson wrote: > Steffen Hoffmann wrote: >> Chris Nelson wrote: >>> [...] >>> 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.
Well, extending the selection to include all changes between [8270] and [8272] and hitting <View changes> button should bring you there. > 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." This is a quite different subject. I've seen recent discussion and some progress towards a solution in Trac (trunk), see T#31 for details. This is work coordinated by Christian (cboos). Currently there are MasterTicketsPlugin and SubticketsPlugin. Only Subtickets is going little beyond ticket view manipulation by introducing ticket validation rules regarding the parent-child relation. None of the aforementioned plugins changes/extends TicketQuery. This is on my ToDo, as I'm currently stuck with Subtickets working fine, but not being able to show relations i.e. in TicketQuery's table view. Steffen Hoffmann (hasienda) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkz1AY0ACgkQ31DJeiZFuHdsuACfebTR4dTz4hCaRMYuk0KzNhiN HC8An286swy0lJaS8OvY85sSZSq69m9y =dMTn -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en.
