[buddypress-trac] [BuddyPress] #3126: Sorting users alphabetically producess inconsistent results
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Mon Mar 28 19:20:57 UTC 2011
#3126: Sorting users alphabetically producess inconsistent results
---------------------------------------------+-----------------------------
Reporter: dimitryz | Owner:
Type: task | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version: 1.2.8
Keywords: members, search, alphabetically |
---------------------------------------------+-----------------------------
When searching for members in the `members/index.php page`, a search for
the word ''Montreal'' returns all members with Montreal in the user data
table. This is consistent for every sort order (active, latest
registrations) except for the ''alphabetically'' sort order: ''Montreal''
will only be looked for in the ''full_name'' data field.
This is very confusing. The expected result is that any ordering should
produce the same results.
I'm attaching a patch that makes all sorting of the members list produce
the same results. I would like to see this brought into the core. If this
feature was intentional, perhaps there is a more abstract way of searching
only for the user-name (e.g. as an extra parameter in the
`BP_Core_User::get_users`)
--
Ticket URL: <https://trac.buddypress.org/ticket/3126>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list