3
 Followers
22
 Likes

Allow multiple sort criteria in ListSort action

Frontend
On our radar

The SortRecordList extension allowed to have multiple sort criterias. The ListSort should have feature parity with that extension, at least.

Having this built-in on the platform would be useful for sorting third-party datasources. For example, imagine that a web service returns financial transactions, and has two distinct columns: Date and Time. We would need to sort on both columns to be able to present data in chronological order.

Created on 14 Jun 2017
Comments (10)

I don't know if it should be an option in the platform? There are a lot of ways possible in the 'sorting way'. So wouldn't it be better that this option be available trough an extension like <this>?

The system action has many advantages over the extension. The most important is, in my opinion, having the true change when you rename or remove a field that is being referenced by a sort. Also, you don't need to cast the record list to an object, which is a non-obvious step required by the extension.

Can understand that, but that also isn't the case with the RW table column sorting widget so would it be possible here?

Merged this idea with 'OrderBy Widget Requirment' (created on 15 Aug 2018 04:55:36 by JitendraYadav)

Hi Team,


Same way we can implement the OrderBy widgets.

We need to provide multiple columns selection in order by clause with the type of ordering asc or desc.

In List Sort Action: we have only one column selection.


Thanks,

Jitendra



This comment was:
- originally posted on idea 'OrderBy Widget Requirment' (created on 15 Aug 2018 by JitendraYadav)
- merged to idea 'Allow multiple sort criteria in ListSort action' on 19 Oct 2018 07:19:42 by Kilian Hekhuis

Hi Team..can u plz modify ListSort widgets to allow sorting on multiple columns.



This comment was:
- originally posted on idea 'OrderBy Widget Requirment' (created on 15 Aug 2018 by JitendraYadav)
- merged to idea 'Allow multiple sort criteria in ListSort action' on 19 Oct 2018 07:19:42 by Kilian Hekhuis

Hi OS Team:Any updates?



This comment was:
- originally posted on idea 'OrderBy Widget Requirment' (created on 15 Aug 2018 by JitendraYadav)
- merged to idea 'Allow multiple sort criteria in ListSort action' on 19 Oct 2018 07:19:42 by Kilian Hekhuis

Changed the category to Builtin & User functions




This comment was:
- originally posted on idea 'OrderBy Widget Requirment' (created on 15 Aug 2018 by JitendraYadav)
- merged to idea 'Allow multiple sort criteria in ListSort action' on 19 Oct 2018 07:19:42 by Kilian Hekhuis

Hello, This idea is marked as 'on our radar' but I found in OutSystems forums this Forum Post which is linking to this answer. Isn't this working properly? Just asking because is marked as a Solution. It can be misleading.

Franco,

That just links to a workaround (and one with a number of caveats). It would be nice if this was supported natively (hence this Idea).

views
659
Followers
3