[rt-users] rt command order by question

Xin, Qiao qxin at cio.sc.gov
Fri Oct 11 22:19:18 EDT 2013


Hi,
Can I use "rt ls" command line to order by more than two fields?
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"

Does the command support sort by more than one field?

Thanks,
Qiao

---
SC-ISAC, DSIT
(803)896-0597
qxin at cio.sc.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20131012/f8c3b6b1/attachment.htm>


More information about the rt-users mailing list