[buddypress-trac] [BuddyPress Trac] #7789: BP Nouveau: Activity filters in single group are failing

buddypress-trac noreply at wordpress.org
Tue May 1 21:16:02 UTC 2018


#7789: BP Nouveau: Activity filters in single group are failing
--------------------------+------------------------------------
 Reporter:  imath         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.0
Component:  Templates     |    Version:
 Severity:  normal        |   Keywords:  has-patch dev-feedback
--------------------------+------------------------------------
 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.

 [[Image(https://cldup.com/U_ywfpEG8D.png)]]

 @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.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7789>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list