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

Change behaviour of user filters to OR #8525

Merged
merged 2 commits into from
Mar 6, 2023
Merged

Conversation

JammingBen
Copy link
Contributor

@JammingBen JammingBen commented Mar 2, 2023

Description

Change user filter for groups and roles to have an OR behaviour. So if you select both groups physics-lovers and physics-haters, it will result in users that are in either of those groups. Combining different filters like groups and roles still concatenates via AND.

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

@JammingBen JammingBen self-assigned this Mar 2, 2023
@sonarcloud
Copy link

sonarcloud bot commented Mar 2, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@JammingBen JammingBen marked this pull request as ready for review March 6, 2023 07:44
Copy link
Member

@kulmann kulmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 💪

@kulmann kulmann merged commit f73683c into master Mar 6, 2023
@delete-merged-branch delete-merged-branch bot deleted the user-filter-or-behaviour branch March 6, 2023 11:55
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.

[admin-settings] User: Filter by multiple groups, unexpected outcome
2 participants