Hey, that's great! I just wish something, and it happens. Thank you.
This new feature works well, except if I use also 'summary' in the macro. In
that case, the order is changed.
An example :
[[TicketBox('Mes tickets',[report:1],inline,nosort)]]
Prints :
Mes tickets
#82, #31, #32
And that is the good order, the one of my report.
But :
[[TicketBox('Mes tickets',[report:1],summary,inline,nosort)]]
Prints :
Mes tickets
Configuration nouveaux tickets trac (#32)
idées sur trac (#82)
Trac est lent (#31)
And you see that the order is modified...
Maybe it is better if I put a new ticket about this in Trac?
Anyway, this TicketBox macro is reaaly great. Thanks again for it.
Eleonore
-----Message d'origine-----
De : [email protected] [mailto:[EMAIL PROTECTED] De la part de
Shun-ichi GOTO
Envoyé : vendredi 4 juillet 2008 10:35
À : [email protected]
Objet : [Trac] Re: Sorting order of ticket box macro
2008/7/2 Eleonore DUVELLE <[EMAIL PROTECTED]>:
> I'd like to know if it is possible, using the ticketBox macro, to get the
> same order than the report associated ? My reports are ordered by beginning
> date - a custom ticket field - but the tickets displayed with a ticketBox
> macro linked to these reports aren't in the same order.
I've implemented and committed your feature.
Check it out from Trac-Hacks (r3957).
You can prevent sorting by specifying 'nosort' keyword.
ex. [[TicketBox("Active Tickets", {1}, nosort)]]
--
Shun-ichi GOTO
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---