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

Request: change default admin sort order #66

Open
dinhtungdu opened this issue Aug 24, 2020 · 1 comment
Open

Request: change default admin sort order #66

dinhtungdu opened this issue Aug 24, 2020 · 1 comment
Labels
help wanted type:enhancement New feature or request.

Comments

@dinhtungdu
Copy link
Collaborator

Originally posted on wordpress.org: https://wordpress.org/support/topic/request-change-default-admin-sort-order/

When you first visit the “Sort by order” page, items are ordered alphabetically (due to the admin query being orderby=menu_order+title&order=asc and no items having a menu_order set).

After you set a manual order, all items have a unique menu_order set.

When you then start creating new items, its default position will appear to the user to be somewhat random. For example, if you add 5 new items, the first 5 items will be sorted alphabetically (including the first old item).

I would prefer to tell my clients this:

“By default, the most recent item you create will appear at the top,” [or bottom, depending on use case], ” but if you want it to appear somewhere else you can click on Sort by order”.

As opposed to this:

“Every single time you create a new item, you need to revisit the Sort by order page and make sure it in the position you want, because it may appear in a random position to begin with”.

Even if you didn’t make this the default behaviour, are you able to adjust the sort_by_order_link function to make the parameters filterable (for both the URL, and the ‘current’ check)? I can filter into views myself, remove your link, and add my own one, though it would be nicer if it were built in to ensure this doesn’t break in a future update.

@jeffpaul jeffpaul added help wanted type:enhancement New feature or request. labels Sep 1, 2020
@jeffpaul jeffpaul added this to the Future Release milestone Sep 1, 2020
@smerriman
Copy link

I see there was a major plugin release recently. This issue is still just as frustrating every single time I set up a site and try to explain to clients why the ordering is always wonky as they're creating new content. Any plans on looking at it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted type:enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

3 participants