Hi, When I create a custom query (via UI - change filters, sort, etc) I sometimes want to save a link to the customized query. Currently the easiet way to do it is copying the query URL. However, wouldn't it be better to have the query module generate a "Trac query language" version of the currently-displayed query?
As a simple example, for the (URL) query: https://server/trac/query?status=assigned&status=new&status=reopened&group=status&order=priority&col=id&col=summary&col=type&col=priority&col=component&col=severity&owner=noam&row=description The query language link is (if I get it right): [query:status=assigned|new|reopened&group=status&order=priority&col=| id|summary|type|priority|component|severity&owner=noam&row=description query] Which is shorter and easier to maintain, for example I can change "status=assigned|new|reopened" in it to "status!=closed" which is more future-proof: [query:status!=closed&group=status&order=priority&col=|id|summary|type| priority|component|severity&owner=noam&row=description query] [testing this query] Ouch... trying the above links gives this error: TypeError: <lambda>() got multiple values for keyword argument 'row' Which looks like a bug, but that's not the topic of this post. 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 -~----------~----~----~----~------~----~------~--~---
