SAP-samples / abap-platform-fiori-feature-showcase

Feature showcase that demonstrates and documents how to implement annotation-driven SAP Fiori Elements UI features for oData V4, using the ABAP RESTful Application Programming Model (RAP).
Apache License 2.0
169 stars 37 forks source link

#DefaultSort for multiple fields not working for me #13

Closed mainakaich closed 11 months ago

mainakaich commented 1 year ago

Hello,

Based on #DefaultSort it should be possible to sort the list report by default. Now I want to apply default sort order of my list based on 2 fields of my list e.g. F1 and F2 in ascending order. Even if I write the following UI annotation but the list report is not getting sorted accordingly.

            @UI.headerInfo.presentationVariant: [{ sortOrder: [{ by: 'F1', direction:  #ASC },
                                                                        { by: 'F2', direction:  #ASC } ] }] }

Thanks, Mainak

jessie-cheah commented 11 months ago

Hi Mainak,

I see you have opened a ticket and UI colleagues are taking a look at it. Therefore I will close this issue.

Regards, Jessie