From d900d4678988f90409289b9be683a9aa2a577180 Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" Date: Thu, 14 Nov 2002 11:11:18 +0000 Subject: [PATCH] Bug 179697 - OR terms need extra level of bracketing r=myk, a=justdave git-svn-id: svn://10.0.0.236/trunk@133822 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/Bugzilla/Search.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/mozilla/webtools/bugzilla/Bugzilla/Search.pm b/mozilla/webtools/bugzilla/Bugzilla/Search.pm index 11dbb57dab2..c80bb99e709 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Search.pm +++ b/mozilla/webtools/bugzilla/Bugzilla/Search.pm @@ -883,6 +883,7 @@ sub init { } } if (@orlist) { + @orlist = map("($_)", @orlist) if (scalar(@orlist) > 1); push(@andlist, "(" . join(" OR ", @orlist) . ")"); } }