[wp-trac] [WordPress Trac] #18346: orderby="title" does not work properly in WP_Query

WordPress Trac wp-trac at lists.automattic.com
Sat Aug 6 21:03:43 UTC 2011


#18346: orderby="title" does not work properly in WP_Query
--------------------------+------------------------------
 Reporter:  jobjorn       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:  3.2.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |
--------------------------+------------------------------
Changes (by jobjorn):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Sorry about that - of course WordPress uses whichever sort order MySQL
 uses. If you are having a similar problem, you'll just have to change your
 character collation - I changed from utf8_general_ci to utf8_swedish_ci on
 the column "post_title" in wp_posts and now it works as it should do (even
 putting ä in the end).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18346#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list