summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Search.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 73774e82b..cf42e073f 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -674,7 +674,7 @@ sub init {
$term = "$ff != $q";
},
",casesubstring" => sub {
- $term = "INSTR($ff, $q)";
+ $term = "INSTR(CAST($ff AS BINARY), CAST($q AS BINARY))";
},
",substring" => sub {
$term = "INSTR(LOWER($ff), " . lc($q) . ")";