Make WordPress Core

Opened 8 years ago

Last modified 7 years ago

#35537 new enhancement

AllPosts page: sorting is not remembered

Reported by: antonrinas's profile antonrinas Owned by:
Milestone: Future Release Priority: normal
Severity: minor Version: 4.4.1
Component: Posts, Post Types Keywords: dev-feedback
Focuses: Cc:


1) Log in (administrator).
2) Remove all posts.
3) Create 3 new posts with titles accordingly "1", "2", "3"
4) Go to AllPosts page.
5) Click on "Title" column header to sort posts by title (as a result: posts is sorted in order 1,2,3).
6) Click "Published (3)".
7) Click "All (3)"
EXPECTED RESULT: posts is sorted in order 1,2,3
ACTUAL RESULT: posts is sorted in order 3,2,1

Change History (3)

#1 @antonrinas
8 years ago

  • Severity changed from normal to minor
  • Type changed from defect (bug) to feature request

#2 @afercia
8 years ago

  • Keywords close added

The default view in the Post list table is by creation date. I think it's always been this way. It's intentional, so the most recent posts are on the top. Think at when you have hundreds of posts. Most likely, you want to see the most recent ones as first in the list.

#3 @swissspidy
7 years ago

  • Keywords dev-feedback added; close removed
  • Milestone changed from Awaiting Review to Future Release
  • Type changed from feature request to enhancement

When sorting posts by title and then narrowing down the list to only show posts from a specific category, the list is still sorted by title. The same could work for the menu as suggested here. The links just need to keep the query vars.

Note: See TracTickets for help on using tickets.