summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Elastic
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Elastic')
-rw-r--r--Bugzilla/Elastic/Search.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/Elastic/Search.pm b/Bugzilla/Elastic/Search.pm
index 5c60f2353..2a49fd870 100644
--- a/Bugzilla/Elastic/Search.pm
+++ b/Bugzilla/Elastic/Search.pm
@@ -361,6 +361,13 @@ sub _operator_substring {
}
}
}
+ elsif ($field eq 'status_whiteboard' && $value =~ /[\[\]]/) {
+ return {
+ match => {
+ $EQUALS_MAP{$field} // $field => $value,
+ }
+ };
+ }
else {
return {
wildcard => {