backdrop-contrib / og

The Organic Groups module provides users the ability to create, manage, and delete 'groups' on a site.
GNU General Public License v2.0
1 stars 8 forks source link

View: OG all user group content - Not showing all the correct content #93

Closed stpaultim closed 2 years ago

stpaultim commented 2 years ago

As I understand it, this view should be showing all the content that belongs to all the groups that the current user belongs to.

admin/structure/views/view/og_all_user_group_content

In my tests, it's only showing content from one group at a time.

It is still possible that this is user error, but I'm continuing to test. Opened this issue in case anyone else has additional information that might help me.

STEPS TO RECREATE:

1) Create two groups 2) Create one piece of content for each group 3) Create a test user and have then join both groups 4) Create a block display of this view admin/structure/views/view/og_all_user_group_content and place the block on the default layout. 5) Notice that the block never displays content from more than one group at a time.

stpaultim commented 2 years ago

I think I found the problem. I believe that the contextual filters needs this setting:

image

stpaultim commented 2 years ago

This PR does two things:

1) Add the "Allow Multiple Values" setting that is required here. 2) Adds a block display to the view.

Prior to this PR the view did not have any useful displays, only a master display.

I think it's safe to say that in Backdrop it should come with a block display.

argiepiano commented 2 years ago

Great sleuthing! Thanks for the PR. Works as expected.