Add new sort field for List component?

Avatar

Avatar

majohns0321

Avatar

majohns0321

majohns0321

31-03-2021

We have a use case in on our site to use the core List component for an articles list. We would like to sort the list by a field other than lastModified or title. What would be an the correct way to add another sort field?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

rush_pawan

Avatar

rush_pawan

rush_pawan

31-03-2021

Hello,

Also, just don't extend everything from dialog rather merge the dialog based on need. as in this case you just want sort by feature to be extended not rest. 

also refer: https://experienceleague.adobe.com/docs/experience-manager-64/developing/platform/sling-resource-mer...

Answers (1)

Answers (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

882

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

882
Arun_Patidar
MVP

31-03-2021