Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make "Date Modified - Descending" the default sort order for assets #1153

Closed
angrybrad opened this issue Jan 31, 2017 · 7 comments
Closed

Make "Date Modified - Descending" the default sort order for assets #1153

angrybrad opened this issue Jan 31, 2017 · 7 comments
Labels
enhancement improvements to existing features

Comments

@angrybrad
Copy link
Member

Created by: Christian ([email protected]) on 2015/03/09 00:49:13 +0000
Votes at time of UserVoice import: 2


@angrybrad
Copy link
Member Author

Posted by Jeroen Kenters ([email protected]) on 2015/03/20 14:15:17 +0000


This might be great for Assets Fields in case you have many assets inside a folder and the uploaded asset is not selected after uploading. By sorting them by date desc the uploaded Asset does get selected.

Related to: http://craftcms.stackexchange.com/questions/9704/when-uploading-an-asset-the-asset-is-not-selected-after-upload

@ghost
Copy link

ghost commented Jul 16, 2018

This definitely addresses one specific issue of finding and selecting your most recently uploaded assets but I would suggest this along with a setting to change the default sorting in settings. This would target the main concern I'm sure most people working in craft have but also give a tool that could solve any developers issue with asset/field sorting.

@brandonkelly brandonkelly added enhancement improvements to existing features and removed feature labels Mar 5, 2019
@samjoneill
Copy link

samjoneill commented May 22, 2019

@angrybrad, @brandonkelly This is something we've had clients request. Is there any chance of it being implemented?

@brandonkelly
Copy link
Member

Added for the next release! Going with Date Uploaded rather than Date Modified, though. (Worth mentioning that indexes will always remember your last-selected setting though, so if you don’t like the default, all you have to do is change it, and it will stay that way each time you reload.)

@jamiewade
Copy link

@brandonkelly @angrybrad Can we also introduce this for Entries / Users?

For users who haven't sorted items yet, and therefore won't have a default set yet, I would assume the vast majority would want to see the most recent items first. However when you click the Date Modified / Last Login column, the first sorting order is oldest first. As a default I'm not sure how useful that is?

@brandonkelly
Copy link
Member

@jamiewade Good point. Entries’ Channel section sources were already sorted by Post Date - Descending by default, but only until a new sort option was selected. Going forward, all built-in element types’ date sort options will sort themselves in descending order by default when manually clicked on.

@brandonkelly
Copy link
Member

Craft 3.5.9 is out now with this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improvements to existing features
Projects
None yet
Development

No branches or pull requests

4 participants