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

WordPress Trac noreply at wordpress.org
Fri Aug 4 14:57:41 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 subrataemfluence):

 A quick suggestion, might be useful!

 What actual SQL query you get when you extract it using `$query->request;`
 and print it on screen? Does this outputs the query exactly as you want to
 be?

 If yes, what you get when you run this query directly on your SQL query
 browser? Does this outputs the values in right order?

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


More information about the wp-trac mailing list