[buddypress-trac] [BuddyPress] #3162: Alphabetical list doesn't sort properly if user enters spaces

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Apr 20 20:28:10 UTC 2011


#3162: Alphabetical list doesn't sort properly if user enters spaces
--------------------------+-----------------------------
  Reporter:  defunctlife  |      Owner:
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  Awaiting Review
 Component:  Core         |    Version:
Resolution:               |   Keywords:
--------------------------+-----------------------------

Comment (by defunctlife):

 Sorry, I didn't have time to create a diff.

 But I changed:

 $sql[] = "ORDER BY pd.value ASC";

 to

 $sql[] = "ORDER BY ltrim(pd.value) ASC";

 line 179, bp 1.2.8. bp-core/bp-core-classes.php

-- 
Ticket URL: <https://trac.buddypress.org/ticket/3162#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list