[wp-trac] [WordPress Trac] #32735: Make plugin list table sortable

WordPress Trac noreply at wordpress.org
Sat Jun 20 17:51:11 UTC 2015

#32735: Make plugin list table sortable
 Reporter:  swissspidy    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  ui

Comment (by swissspidy):

 Thanks for the hint. Per nacin's 4-year old comment:

 > Per discussion with PeteMall and Jane in IRC, since sorting and
 pagination on the plugins screen is stateless, we should remove sorting on
 the plugin name column. Sorting, then making any action, will cause you to
 lose the action, which is lame.

 Maybe it's time to make it not stateless anymore and save it as a user
 setting? Or at least make the sortable columns filterable (empty by
 default?) so a plugin can implement sorting. For example, a plugin could
 allow sorting plugins by their activation date.

 > Also lame, is that unlike on other screens that might be sorted by
 something else by default, the screen is already sorted by name. So the
 most this can do anyway is sort by name descending. Or as I like to call
 it, scroll to the bottom and use your imagination.

 The sorting is still not correct when you have translated plugin names.
 However, this can be solved by having sortable columns and a default order
 of `?orderby=name&order=asc`. It's very annoying when you have lots of
 plugins and you need to find plugins somewhere on the page. And no, Cmd+F
 is not a solution.

Ticket URL: <https://core.trac.wordpress.org/ticket/32735#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list