[wp-trac] [WordPress Trac] #32416: List table: the link on the initial sorted column header should always change the initial order

WordPress Trac noreply at wordpress.org
Fri May 15 22:29:25 UTC 2015


#32416: List table: the link on the initial sorted column header should always
change the initial order
------------------------------------+--------------------------------
 Reporter:  afercia                 |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Administration          |     Version:  4.2
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  ui, accessibility
------------------------------------+--------------------------------

Comment (by afercia):

 Refreshed patch fixes the link for the initially sorted column also for:
 - non hierarchical taxonomies (tags)
 - `/network/users.php`
 - `/wp-admin/link-manager.php` (Link manager is now a plugin)
 Please notice that for hierarchical posts (pages) and hierarchical
 taxonomies (categories) the only way to display again the initial sorting
 (the one with nested items) is clicking on the link in the main admin
 menu. Couldn't find any control available ''in the table'' to sort it
 again in the "hierarchical sort".

 Additional notes
 - in `/network/themes.php` the themes collection is reversed via code so
 `?orderby=name&order=asc` returns items in z-a order and vice-versa
 - in `/network/sites.php` which are the default orderby and order? Maybe
 the default should be set by 'blogname'?

 Would greatly appreciate some leads feedback about the best approach to
 follow here, maybe worth it a more elegant solution? Also, about the
 hierarchical things issue, and their custom default sorting.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32416#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list