Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

How to display a user's groups using views ? #632

Closed
semiaddict opened this issue Mar 2, 2020 · 2 comments
Closed

How to display a user's groups using views ? #632

semiaddict opened this issue Mar 2, 2020 · 2 comments

Comments

@semiaddict
Copy link

I am trying to create an entity reference view to use for the og_audience reference field.
My aim is to filter the list of groups in the og_audience to only those the user is a member of, which I believe used to be the case in the D7 version.

I have tried using an og_membership view, a node view, and even a user view, but none seem to allow the creation of the desired relationships to achieve this.

It seems as if the group entity in the og_membership is not recognized as such in views, as I cannot create a relationship with a the group node from an og_membership.

How can I go by creating a view that lists a user's groups ?

@MPParsley
Copy link
Collaborator

MPParsley commented Mar 2, 2020

@semiaddict, have a look at #254 and #565.

@semiaddict
Copy link
Author

Great. Thank you @MPParsley.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants