You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.
We have the requirement to show recent content in a view from all of the groups that the current user is a member of.
This requires a default argument to populate the contextual filter (for groups_audience) used by the view. In D7 this was provided by og_plugin_argument_default_user_groups.inc, but the equivalent does not seem to be present in D8 version.
Pull request #253 supplied to add the default argument.
The text was updated successfully, but these errors were encountered:
I used the default setting for that contextual filter but it never actually works in preview or on the page even though the logged-in user has memberships to the group. Maybe a screenshot of how you are using it would let me know if I am doing it right?
I ended up taking a different route and just adding relationships to the views.inc file from another issue I found to do what I needed to get done.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We have the requirement to show recent content in a view from all of the groups that the current user is a member of.
This requires a default argument to populate the contextual filter (for groups_audience) used by the view. In D7 this was provided by og_plugin_argument_default_user_groups.inc, but the equivalent does not seem to be present in D8 version.
Pull request #253 supplied to add the default argument.
The text was updated successfully, but these errors were encountered: