From 7df3921113790a4eca4ff363e5f9577e72ac761c Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Thu, 14 Nov 2002 19:11:18 +0000 Subject: Bug 179697 - OR terms need extra level of bracketing r=myk, a=justdave --- Bugzilla/Search.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla') 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) . ")"); } } -- cgit v1.2.3-24-g4f1b