Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The og_user_groups view should show all of a user's groups, i.e. all groups which have a membership reference with the current user. However, it also matches on other entity type memberships. For example, my user id on a site was 206, so all my groups appeared, *and* the groups that "node/206" belonged to also appeared.
This can be resolved by adding an "OG membership: Entity_type (= user)" filter to the view, so only user entity type memberships match.
Comment | File | Size | Author |
---|---|---|---|
#1 | og-user-groups-filter-1695116-1.patch | 1008 bytes | penguininja |
Comments
Comment #1
penguininja CreditAttribution: penguininja commentedAttaching patch with OG Membership: Entity_type filter included.
Comment #2
amitaibuCommitted, thanks.