diff --git a/app/src/Lib/Match/MatchService.php b/app/src/Lib/Match/MatchService.php index e5470e764..44d6d1cbd 100644 --- a/app/src/Lib/Match/MatchService.php +++ b/app/src/Lib/Match/MatchService.php @@ -488,6 +488,7 @@ protected function search(string $mode, // If the attribute is case insensitive, we insert LOWER clauses if(!$ruleattr->attribute->case_sensitive) { $colclause = "LOWER(" . $colclause . ")"; + $val = strtolower($val); } // If the attribute is alphanumeric only, we strip out non-alphanumeric characters