[wp-trac] [WordPress Trac] #41546: WP Query order by meta_clause not working correctly for decimal values

WordPress Trac noreply at wordpress.org
Thu Aug 3 13:17:21 UTC 2017


#41546: WP Query order by meta_clause not working correctly for decimal values
------------------------------+------------------------------
 Reporter:  LordSpackolatius  |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Query             |     Version:  4.8.1
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by LordSpackolatius):

 I made a small mistake with the 5 example posts:

 Here is the correction:
 Using the query above results in the order:
 5,2,4,3,1
 When it should be 5,4,3,2,1

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


More information about the wp-trac mailing list