Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix contextual filter on list_of_users_groups view #2280

Merged
merged 3 commits into from
Dec 27, 2017
Merged

Conversation

janette
Copy link
Member

@janette janette commented Dec 13, 2017

The user profile displays a list of groups a user belongs to, the contextual filter is set to use the logged in user rather than the user being viewed so the results are not accurate.

How to reproduce

  1. Create a user and add them to a group
  2. View the new user's profile page and note that the list of groups on the left displays the groups of the user you are logged in as and not the user you are viewing.

QA Steps

  • Create a user and add them to a group
  • View the new user's profile page and confirm that the list of groups on the left displays correct groups for the user being viewed.

Reminders

  • There is test for the issue.
  • CHANGELOG updated.
  • Coding standards checked.
  • Review docs.getdkan.com (or in /docs) to see if it still covers the scope of the PR and update if needed.

@fmizzell fmizzell merged commit 3e15fe7 into 7.x-1.x Dec 27, 2017
@fmizzell fmizzell deleted the user-groups-list branch December 27, 2017 14:38
dafeder pushed a commit that referenced this pull request Apr 24, 2020
Fix contextual filter on list_of_users_groups view
dafeder pushed a commit that referenced this pull request Apr 24, 2020
Fix contextual filter on list_of_users_groups view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants