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: Unsearchable disabled users by their email or name - EXO-69348 - Meeds-io/meeds#1827 . #858

Merged
merged 1 commit into from Apr 19, 2024

Commits on Apr 19, 2024

  1. fix: Unsearchable disabled users by their email or name - EXO-69348 - M…

    …eeds-io/meeds#1827 .
    
    Before this change, when set user as a disabled user, select disabled filter and search for usera by his name or his email, user isn't displayed in the result list. To fix this problem, first apply the search by email and then change in the search query the conditions apply in the WHERE line, they are based on the fields email and username must be both like the search term but with this change will be based on one of the two fields either being like this term and this change will only be applied if the search done by the keyword and the user status is disabled.
    After this change, user is displayed in the result list.
    akhanfir committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    9e0ea7b View commit details
    Browse the repository at this point in the history