-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
I think group filter does not work well. Because when I select more than groups it does not show any user.
I selected admins it showed 1 user and then I also selected moderators but it show 0 users. My expectation is that when both are selected, the admin user will be listed even if there is no moderator. Filter use AND operator instead of OR.
Bug Report
Current Behavior
A clear and concise description of the behavior.
Steps to Reproduce
- Go to 'user directory page'
- Click on 'Filter Group'
- Select one group then another groups
- when I select more than groups it does not show any user if user is not member of both groups.
Expected Behavior
when both are selected, the admin user will be listed even if there is no moderator. Filter use AND operator instead of OR.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
- Flarum version: 1.4.01
- Extension version: x.y.z
- Website URL: http://example.com
- Webserver: nginx]
- Hosting environment: vps
- PHP version: 8.01
- Browser: chrome
Possible solution(s)
We should filter with OR operator instead of AND