[buddypress-trac] [BuddyPress] #4711: Problem with group pagination count when users are excluded
buddypress-trac
noreply at wordpress.org
Tue Dec 11 13:22:12 UTC 2012
#4711: Problem with group pagination count when users are excluded
--------------------------+-----------------------------
Reporter: sbrajesh | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Groups | Version: 1.6.1
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
There is a problem with group pagination when some users are excluded
using the exclude parameter in the bp_group_has_members(inside bp-
default/groups/single/members.php)
It shows this message
`
Viewing member 1 to 0 (of 0 members)
`
The problem lies in Bp_Groups_Members::get_all_for_group method on line
1197.
The members table name is not aliased in the FROM clause but the alias m
is used in the $exclude_sql.
Here is a patch attached again the BuddyPress 1.6 trunk. Need to check if
we have same issue(might be) in 1.7 trunk too.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4711>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list