Edgewall Software

Opened 13 years ago

Last modified 6 months ago

#10178 new enhancement

[PATCH] Allow TracQueries to order on multiple columns — at Version 2

Reported by: david@… Owned by: Remy Blank
Priority: high Milestone: next-major-releases
Component: query system Version: 0.12dev
Severity: normal Keywords: patch
Cc: macke@…, andrew.c.martin@…, jcampbell@…, azoff@…, osimons, fabien.weyh@…, ethan.jucovy@…, phep@… Branch:
Release Notes:

ticket: Added the possibility to sort on multiple columns in the [[TicketQuery]] macro.

API Changes:
Internal Changes:

Description (last modified by Remy Blank)

Currently trac only supports ordering on a single column. I've written a patch which provides the ability to sort on more than one column.

This allows:

[[TicketQuery(max=5,order=priority|somecolumn, desc=0|1, status=open)]]

Change History (3)

by david@…, 13 years ago

Attachment: trac_ordering.patch added

Add multiple column ordering to trac queries

comment:1 by david@…, 13 years ago

Summary: Allow TracQueries to order on multiple columns[PATCH] Allow TracQueries to order on multiple columns

comment:2 by Remy Blank, 13 years ago

Component: generalquery system
Description: modified (diff)
Owner: set to Remy Blank
Priority: normalhigh
Release Notes: modified (diff)

Looks very nice, thank you!

Note: See TracTickets for help on using tickets.