summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Search.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 11dbb57da..c80bb99e7 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -883,6 +883,7 @@ sub init {
}
}
if (@orlist) {
+ @orlist = map("($_)", @orlist) if (scalar(@orlist) > 1);
push(@andlist, "(" . join(" OR ", @orlist) . ")");
}
}