Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Default sort based on Name in ascending order in AEM 6.5.7 +

Avatar

Avatar
Ignite 5
Level 2
hardik11071994
Level 2

Likes

2 likes

Total Posts

49 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Validate 1
Give Back 5
Give Back 3
View profile

Avatar
Ignite 5
Level 2
hardik11071994
Level 2

Likes

2 likes

Total Posts

49 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Validate 1
Give Back 5
Give Back 3
View profile
hardik11071994
Level 2

26-05-2021

Request for Feature Enhancement (RFE) Summary: In 6.5.7 sorting feature is added which by default sort based on created and in ascending order. 
Use-case: We would like the facility to change default setting, instead of default sorting by created, we would like to sort it via Name.
Current/Experienced Behavior: If we go to any card/list/column view it will sort by created.
Improved/Expected Behavior: Some kind of setting to change default sorting, so when we go to any view card/list/column it will sort based on that new default setting i.e. by name.
Environment Details (AEM version/service pack, any other specifics if applicable): 6.5.7 +
Customer-name/Organization name: Hershey's
Screenshot (if applicable):  
Code package (if applicable):  
5 Comments

Avatar

Avatar
Ignite 5
Level 2
hardik11071994
Level 2

Likes

2 likes

Total Posts

49 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Validate 1
Give Back 5
Give Back 3
View profile

Avatar
Ignite 5
Level 2
hardik11071994
Level 2

Likes

2 likes

Total Posts

49 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Validate 1
Give Back 5
Give Back 3
View profile
hardik11071994
Level 2

30-05-2021

Hi Sir, is it feasible to sort via name in ascending order by default instead of sorting by created? 

 

@hamidk92094312 @kautuk_sahni 

Avatar

Avatar
Employee
clatimier
Employee

Likes

0 likes

Total Posts

0 posts

Correct reply

0 solutions
View profile

Avatar
Employee
clatimier
Employee

Likes

0 likes

Total Posts

0 posts

Correct reply

0 solutions
View profile
clatimier
Employee

14-06-2021

Hello @hardik11071994 

Thanks for posting this idea

In the list view, you can sort the list by the value wanted by clicking on the column header

For Assets there is an improvement logged to our engineering team to add the sorting feature in the Card view, internal reference CQ-4289711

 

Could you please let me know if the option of using the list view and sorting using the column header would be a viable solution for you?

Status changed to: Needs Info

Avatar

Avatar
Ignite 5
Level 2
hardik11071994
Level 2

Likes

2 likes

Total Posts

49 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Validate 1
Give Back 5
Give Back 3
View profile

Avatar
Ignite 5
Level 2
hardik11071994
Level 2

Likes

2 likes

Total Posts

49 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Validate 1
Give Back 5
Give Back 3
View profile
hardik11071994
Level 2

14-06-2021

Hi @clatimier 

Thank you for your response, this idea request logged to create some kind of configuration which will help to set the default sort setting?

 

like if someone wanted to sort card/column view sorting based on modified date by default. do they able to change it from created to modified as default sorting?

 

Thanks

Hardik

Avatar

Avatar
Establish
Employee
kautuk_sahni
Employee

Likes

1,404 likes

Total Posts

6,953 posts

Correct reply

1,150 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Employee
kautuk_sahni
Employee

Likes

1,404 likes

Total Posts

6,953 posts

Correct reply

1,150 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Employee

10-08-2021

@clatimier  can you please look at this Idea and review it? Do we need more information for this one?

Avatar

Avatar
Employee
clatimier
Employee

Likes

0 likes

Total Posts

0 posts

Correct reply

0 solutions
View profile

Avatar
Employee
clatimier
Employee

Likes

0 likes

Total Posts

0 posts

Correct reply

0 solutions
View profile
clatimier
Employee

19-10-2021

Hi @hardik11071994 

If you want to change the default sort, you could modify the "sortName" param in /libs/dam/gui/content/assets/jcr:content/views/card/datasource to adapt to the default sort you want

For example for default sorting by name, you can change it from

${empty param.sortName ? (empty cookie["cq-assets-files-files-sortName"].value ? "" : cookie["cq-assets-files-files-sortName"].value) : param.sortName}

to

${empty param.sortName ? (empty cookie["cq-assets-files-files-sortName"].value ? "name" : cookie["cq-assets-files-files-sortName"].value) : param.sortName}

Status changed to: Delivered