Add new sort field for List component?

Avatar

Avatar
Level 1
majohns0321
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
majohns0321
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
majohns0321
Level 1

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
Boost 100
Level 7
rush_pawan
Level 7

Likes

127 likes

Total Posts

192 posts

Correct reply

81 solutions
Top badges earned
Boost 100
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Boost 100
Level 7
rush_pawan
Level 7

Likes

127 likes

Total Posts

192 posts

Correct reply

81 solutions
Top badges earned
Boost 100
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile
rush_pawan
Level 7

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
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,322 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,322 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

31-03-2021