Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

ordering/sorting the fields in a URL

nikhilmm
Kilo Explorer

I am unable to sort the field in Descending order in mobile interface using ORDERBYDESC or even by sysparm_order_direction=desc in the URL.

eg: if I need to sort the list in descending order of creation date, i.e. the URL with parameters /o:sys_created_on, I am unable to do so.

Any pointers on this shall really be appreciated.

3 REPLIES 3

epam
Kilo Guru

Hi, Nikhil.


As you correctly mentioned, o:sys_created_on allows to change sorting in the mobile interface. For your case just use the following parameters in the URLs:


    - ASC: ../o:sys_created_on


    - DESC: ../o:sys_created_on, descending


Yes it works. Thanks!


Is there a way to sort the list based on two parameters simultaneously in case of some conflict, say descending order of sys_created_on & then ascending order of incident number if the sys_created_on is same for multiple entries?


Thanks!