[buddypress-trac] [BuddyPress Trac] #8342: Issue with group activity filter
buddypress-trac
noreply at wordpress.org
Mon Aug 3 18:36:30 UTC 2020
#8342: Issue with group activity filter
--------------------------+-----------------------------
Reporter: etatus | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Activity | Version: 6.1.0
Severity: major | Keywords:
--------------------------+-----------------------------
I detected that in groups activity page the filter didn't work, so
checking the code I realized that **bp_current_action()** and
**bp_nouveau_current_object()** functions were returning 'home' instead
'activity', so the html select didn't work.
If I make changes to let 'home' be a valid value (equivalent to
'activity') in functions:
{{{#!php
bp_nouveau_current_object()
bp_nouveau_get_filter_container_id()
bp_nouveau_get_filter_id()
}}}
from: **buddypress/bp-templates/bp-nouveau/includes/template-tags.php**
then the select works fine.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8342>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list