simple-page-ordering icon indicating copy to clipboard operation
simple-page-ordering copied to clipboard

Request: change default admin sort order

Open dinhtungdu opened this issue 5 years ago • 1 comments

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.

dinhtungdu avatar Aug 24 '20 02:08 dinhtungdu