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
BedrockMission!

Learn More

View all

Sign in to view all badges

Subfolders on the top of the list?

Avatar

Avatar
Validate 1
Level 2
jorgefdez205
Level 2

Likes

8 likes

Total Posts

26 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
jorgefdez205
Level 2

Likes

8 likes

Total Posts

26 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
jorgefdez205
Level 2

26-07-2019

Hi guys

We have an asset folder (folder1) with 150 assets inside and 4 subfolders (folder2, folder3, folder4, folder5) , these subfolders can be empty for the purpose of the demo, but to see the problem they need to be created in any order (in between of the 150 other assets, so no order by modification date is possible) .

When the user enter or browse the folder1 he can only see the first 40 assets (out of 150) and if the folders are spread in the list, he won't be able to order by Type (this is not available in 6.4) the items. So there is no way to see the folders (easily).

There is any way (not extending the com.day.cq.dam.commons.sort.ResourceSorter) to show always the subfolders first on the subfolders???

Something like

folder1

     -folder2

     -folder3

     -folder4

     -folder5

     -asset1

     -asset2

     -...

     -asset150

Thanks in advance for the help

Replies

Avatar

Avatar
Boost 5
Level 2
mr_chawla
Level 2

Likes

5 likes

Total Posts

16 posts

Correct Reply

5 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Level 2
mr_chawla
Level 2

Likes

5 likes

Total Posts

16 posts

Correct Reply

5 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
mr_chawla
Level 2

28-07-2019

Hi ,

In case you are looking to sort based on the type of file in list view , please try to go to node /libs/dam/gui/content/commons/availablecolumns/type and overlay the same at your end and change sortable property to true.

Please see if this helps you to serve the purpose.

Cheers.

Avatar

Avatar
Validate 1
Level 2
jorgefdez205
Level 2

Likes

8 likes

Total Posts

26 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
jorgefdez205
Level 2

Likes

8 likes

Total Posts

26 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
jorgefdez205
Level 2

29-07-2019

HI

Thanks for the quick answer.

The suggested method does not work when you have a long list of assets (because its sort on the frontend).

Thanks