From 383e47ca9ec03a821519474555408c6e78152a7c Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 26 Oct 2005 00:55:02 +0000 Subject: Bug 313020: Implement the ability to add individual bugs to saved searches - Patch by Frédéric Buclin r=joel a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/User.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Bugzilla/User.pm') diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 7f3736c28..6beb16a8b 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -198,7 +198,7 @@ sub queries { my $dbh = Bugzilla->dbh; my $sth = $dbh->prepare(q{ SELECT - DISTINCT name, query, linkinfooter, + DISTINCT name, query, linkinfooter, query_type, CASE WHEN whine_queries.id IS NOT NULL THEN 1 ELSE 0 END, UPPER(name) AS uppername @@ -221,7 +221,8 @@ sub queries { name => $row->[0], query => $row->[1], linkinfooter => $row->[2], - usedinwhine => $row->[3], + query_type => $row->[3], + usedinwhine => $row->[4], }); } $self->{queries} = \@queries; -- cgit v1.2.3-24-g4f1b