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

WordPress Trac noreply at wordpress.org
Fri Oct 30 08:22:35 UTC 2020


#47642: Order by comment count - posts list tables
-------------------------------------------------+-------------------------
 Reporter:  alektabor                            |       Owner:
                                                 |  johnbillion
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  5.7
Component:  Posts, Post Types                    |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch needs-     |     Focuses:
  unit-tests early                               |  administration
-------------------------------------------------+-------------------------

Comment (by ramon fincken):

 here we go .. this patch tests for numeric values and datetime values.
 order can happen on string OR array , so we need to test for both of them.

 Also .. if it is an array, we do NOT need to add the ID if it is already
 present

 see patch: patch.47642.20201030.1

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


More information about the wp-trac mailing list