(BUG) Activity Loop args: scope 'favorites' overrides primary_id
I wanted to show the favorites activity for a specific group, so I used the following args for the `bp_has_activities()` loop:
$args = array( 'primary_id' => [group_id], 'object' => 'groups', 'scope' => 'favorites' );
Obviously, the `[group_id]` is the actual group id.
The result is: the loop shows the favorites activity for the current user, but sitewide, not for the current group only.
If I use any other scope (e.g. `’just-me’`), instead, it returns the activity only for the group specified with the `primary_id`.
Is there a solution or a workaround for this issue?
You must be logged in to reply to this topic.