summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-11-14 20:11:18 +0100
committerbbaetz%student.usyd.edu.au <>2002-11-14 20:11:18 +0100
commit7df3921113790a4eca4ff363e5f9577e72ac761c (patch)
tree21493e2749ff76fd271c10cab5ed88f72fc4f183 /Bugzilla
parent8cd838d6aa5e4a42e4989aa034f7dc452c0581fb (diff)
downloadbugzilla-7df3921113790a4eca4ff363e5f9577e72ac761c.tar.gz
bugzilla-7df3921113790a4eca4ff363e5f9577e72ac761c.tar.xz
Bug 179697 - OR terms need extra level of bracketing
r=myk, a=justdave
Diffstat (limited to 'Bugzilla')
-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) . ")");
}
}