On Jul 25, 8:42 am, "Culapov Andrei" <[EMAIL PROTECTED]> wrote: > On Fri, Jul 25, 2008 at 3:11 PM, Emin <[EMAIL PROTECTED]> wrote: > > > Dear Experts, > > > The TicketQuery macro is really wonderful, so wonderful that I use it > > a lot and would like to ask about more features. Is there a way to > > control the order of the results? > > add in the parameters list sort=ticket_field > > For example, if I want to sort by > > > date or by reverse ticket id or by user, is there a way to do that? > > > Also, since TicketQuery is called a macro, this suggests that there is > > some source code for it that calls internals of Trac. Is there a way > > for users to add such macros? If so, could someone point me to the > > source code of TicketQuery and how I would write a version with more > > features? > > The TicketQuery code you can find it in trac.ticket.query module. For > creating a macro take a look athttp://trac.edgewall.org/wiki/WikiMacros > > I created a plugin that does something similar to TicketQuery and that > defines 3 new macros. The macros show counts of tickets based on a > query string. You can take a look > onhttp://code.optaros.com/trac/oforge/wiki/Dashboardpage for more > information on it.
This is nice, no information on how to get it and install it though, just a page of how it looks. Looks very nice btw. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
