Sort grouped list in Workspace

Artem_Lobyntsev
Tera Contributor

Hello everybody, 

 

I've encountered a problem with configuring a list in a custom workspace. I need to group a list by one of the values and then sort by a number of records. 


In UI16 it's done pretty easily using "sort groups by" option. It adds parameter sysparm_group_sort%3DCOUNTDESC to the list link. But when it comes to workspace I cannot find such option in an interface. 

To further clarify my task: I have a list in a workspace and I need to have a link on workspace homepage, that will open list with this predefined parameters. 


I was able to configure everything except for group sorting. Refer to the screenshot below. Since there's no documentation in this, I've tried different parameter names such as "group_sort", "groupSort", "listGroupSort", etc, but none if them works. And since there's no such option just using workspace interface, I'm starting to doubt that it's even possible. 
 
Any ideas are highly appreciated. 

Artem_Lobyntsev_0-1712941259089.png

 




2 REPLIES 2

Dibyaratnam
Tera Sage

What is the component that you are using to show the List of records? As the list component has a config property named Group by you can use that.

I'm using the list, and the problem is not with grouping itself, that I already achieved. Now I need to sort groups by the number of records, and this is the tricky part with workspace list.