On Sat, Oct 12, 2013 at 02:19:18AM +0000, Xin, Qiao wrote: > Can I use "rt ls" command line to order by more than two fields?
rt ls only supports one order by field. You'd need to tweak this code https://github.com/bestpractical/rt/blob/stable/share/html/REST/1.0/search/ticket#L92 as well as bin/rt to send correctly formatted syntax for the new support. -kevin > By default, it is sorted by Ticket #. But if I sort using a different > field, the Ticket# is > out of order for tickets with same field value. > I tried to order by both field and Ticket# and it does not work. Please > help. > # rt ls -o +field,+id "query" > Or > # rt ls -o +field -o +id "query"
pgphYMDLoNjex.pgp
Description: PGP signature
