WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 9 months ago

#11972 closed feature request (worksforme)

Sort View Post/Pages by Column

Reported by: miklb Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Administration Keywords: close
Focuses: Cc:

Description

Recently I discovered in WPMU in Site Admin options, you can sort for instance Site Admin->Blogs by last activity date. That is a very handy feature, and certainly would useful for a site with hundreds of nested pages. To be able to sort that list by date, rather than just title would be useful, as it sorts by title of the parent page, and finding a 3rd level child can be difficult to say the least. The search feature is lacking but that is for another ticket. Likewise, sorting posts by category, author, etc could be useful. Since the functionality seems to already be there for sorting these type columns, and the code's been moved in already, I'd think it'd be a nominal change. I simply don't know what direction these menus are going yet to offer a working suggestion. Just wanted to get my 2¢ in before it's too late.

Change History (4)

comment:1 miklb4 years ago

  • Cc miklb added

comment:2 scribu4 years ago

  • Milestone changed from Unassigned to Future Release
  • Type changed from enhancement to feature request

comment:3 sillybean9 months ago

  • Keywords close added

Since it's very easy to drill down the post/page lists by clicking the linked author/category/tag, and also to make the columns sortable with a simple hook (see example), I think we can close this ticket.

function register_sortable_column_author( $columns ) {
    $columns['author'] = 'author';
    return $columns;
}
add_filter( 'manage_edit-post_sortable_columns', 'register_sortable_column_author' );

comment:4 helen9 months ago

  • Milestone Future Release deleted
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.