Using Views to List a Member's Organic Groups (7.x-2.3) I am migrating a site from using OG 7.x-1.4 to OG 7.x-2.3. The migration seemed to go fine, but it broke the view that shows the current users group (i.e. groups the user is a member of). In the original view for 1.4, it had a contextual filter:


(OG membership from OG group) We pass to the "Entity ID" the User ID.


And the following relationships:


OG group: OG group from Node
(node being the OG group) OG group: OG membership from OG group


However, the new Organic Groups 7.x-2.3 now uses the OGMembership data model and I cannot figure out how to recreate this view using OGMembership, as I am not clear exactly how it works and I cannot seem to find any in-depth documentation for this kind of thing.
This is how to get the OG membership ID:s to start with.

Add new view.
Show -> OG membership (important!)
Then in some display add a contextual filter -> OG membership: Entity id.
Provide default value -> Type -> User ID from logged in user.
Override title: %1's groups.
Specify validation criteria -> User.

Now you have the list of ID:s.

Next to get the actual titles of the groups (as the base table is OG membership, not node), Add a relationship -> Group Node from OG membership.
Add a field -> Content: Title.
Relationship -> Group node from OG membership.

Now you have the titles too. Add some filters and sort criterias to taste.