-
Notifications
You must be signed in to change notification settings - Fork 186
Closed
Labels
Category: BugPR or issue that aims to report or fix a bugPR or issue that aims to report or fix a bug
Description
Describe the bug
When adding a menu filter for the candidate sex, filtering on male is returning female as the SQL query is using candidate.sex LIKE '%male% instead of candidate.sex = 'male'. Seems the substring if condition was not properly updated to use the sex string length.
To Reproduce
Steps to reproduce the behavior (attach screenshots if applicable):
Unsure of with core modules still use POST to preform menu filters. Most see to be reactified.
What did you expect to happen?
Expected only male candidates to return.
Browser Environment (please complete the following information):
- ALL
Server Environment (if known):\
- LORIS Version: 23.0.3\
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
Category: BugPR or issue that aims to report or fix a bugPR or issue that aims to report or fix a bug