Opened 6 years ago
Closed 6 years ago
#7789 closed defect (bug) (fixed)
BP Nouveau: Activity filters in single group are failing
Reported by: | imath | Owned by: | imath |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Templates | Keywords: | has-patch dev-feedback |
Cc: |
Description
The problem is the data-bp-filter is set to an unexisting Ajax Action into bp_nouveau_current_object()
. The data-bp-filter should be "activity" but it's "group_activity". It's not the case for the single use. A possible reason for this could be this function is also used to populate other filters.
@hnla could you look at it ? Because you committed it :) https://github.com/buddypress/next-template-packs/commit/309ea3e1aeebfc63745f4d328613363864ae6933#diff-ce2d59a113459ec2d423b95e2a228d2e
What I suggest, is to simply add a specific case for the activity into this function while we figure out a bit more what the $component['data_filter']
is used for.
See attached patch.
In 12037: