[buddypress-trac] [BuddyPress] #4134: bug in activity filtering for join group
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Mon May 7 17:05:06 UTC 2012
#4134: bug in activity filtering for join group
--------------------------+--------------------
Reporter: gwu123 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 1.6
Component: Activity | Version: 1.5.5
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+--------------------
Changes (by DJPaul):
* keywords: => needs-patch
Comment:
I'd suggest that we check for $bp->groups->current_group->id == $'item_id
(taking care to handle if item_id is not set, of course). If it does, we
can use that group object again, which will save a database query. If you
are able to make a patch, that would be helpful.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4134#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list