[buddypress-trac] [BuddyPress] #5271: BP_User_Query - user_ids parameter breaks pagination
buddypress-trac
noreply at wordpress.org
Mon Dec 9 14:34:03 UTC 2013
#5271: BP_User_Query - user_ids parameter breaks pagination
--------------------------+---------------------------
Reporter: shanebp | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 1.9
Component: Core | Version: 1.8.1
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"7660"]:
{{{
#!CommitTicketReference repository="" revision="7660"
Calculate fallback value for BP_User_Query::total_users
BP_User_Query normally calculates the total_users count with a separate
COUNT
query; see BP_User_Query::do_user_ids_query(). However, this method is not
called when a $user_ids parameter is passed to BP_User_Query. This
changeset
introduces an alternative method for calculating total_users in this case,
ensuring that pagination works as expected.
Fixes #5271
Props imath
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5271#comment:9>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list