Hi,

Question to Trac devs:
I was wondering why the TicketQuery macro ignores my "order=priority"
parameter, so I looked at the code (class TicketQueryMacro in query.py). To
my amazement, just before executing the query this statement appears:

query.order='id'

Which makes the list always sorted by id, regardless of the parameter.

I commented out this line, and now it's sorted by priority.

Any idea why was this added? A workaround for another bug perhaps?

Thanks, Noam.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to