Multiple sort for lists
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2011 03:07 AM
Is it possible to sort a list based on more than one field?
i.e If in 'Tasks' module, if I click on 'Number' to sort it by the Number, then if I click on 'Priority' it should sort by 'task number' and then by "Priority".
Thanks in advance,
Jaya Bharathi
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2011 07:11 AM
Hi Jaya,
Yes it is possible to add sorting queries to your lists. I've attached a picture showing you the button from the list. You have to open your filter to make these changes though.
Regards,
Wesley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2011 09:13 PM
Hi Wesley,
Thanks for the reply. I don't want to fix the sort order using filters. Instead user should be to sort multiple columns when he clicks on the column header.
Thanks in advance
Jaya Bharathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2011 11:12 PM
Hi Jaya,
I'm afraid it is not possible to do such a thing then. Clicking on one of the column headers would just negate the previously set order field, and replace it with the one clicked. You would have to customize something for that.
Regards,
Wesley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2011 08:45 PM
Hi Wesley,
Thank you for the response. Can you tell me internally which function does g_list.sort('field_name') function calls. I found this function in sort(a to z) of UI Context Menu. I was trying to understand so that i can customize it.
Thanks and Regards,
Jaya Bharathi