[wp-trac] [WordPress Trac] #47642: Order by comment count - posts list tables

WordPress Trac noreply at wordpress.org
Sun Sep 22 09:19:45 UTC 2019


#47642: Order by comment count - posts list tables
-------------------------------------------------+-------------------------
 Reporter:  alektabor                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Posts, Post Types                    |     Version:  5.2.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch needs-     |     Focuses:
  testing                                        |  administration
-------------------------------------------------+-------------------------

Comment (by johnbillion):

 Thanks for the patch @ramon-fincken. The post_modified field is also non-
 unique. It's possible that two posts could share the same comment count
 and modified date.

 The secondary sort order should probably be the post ID instead.

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


More information about the wp-trac mailing list