[wp-trac] [WordPress Trac] #19653: Order by meta field forces ignore of null records

WordPress Trac noreply at wordpress.org
Tue Oct 14 03:40:25 UTC 2014


#19653: Order by meta field forces ignore of null records
-------------------------------------------------+-------------------------
 Reporter:  tomauger                             |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Query                                |  Release
 Severity:  normal                               |     Version:
 Keywords:  has-patch needs-unit-tests meta-     |  Resolution:
  query needs-refresh                            |     Focuses:
-------------------------------------------------+-------------------------

Comment (by boonebgorges):

 The problem with the LEFT JOIN is that it always puts the non-matching
 post IDs at the top of the list of results, regardless of the ORDER BY
 clause. See #29447.

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


More information about the wp-trac mailing list