diff options
author | lpsolit%gmail.com <> | 2005-10-26 02:55:02 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-10-26 02:55:02 +0200 |
commit | 383e47ca9ec03a821519474555408c6e78152a7c (patch) | |
tree | b6b6da25c8d014f00ea3a02132663a021b6ebe87 /Bugzilla/User.pm | |
parent | 44de29d04d1ca7e3b047b2a847508dc949c29038 (diff) | |
download | bugzilla-383e47ca9ec03a821519474555408c6e78152a7c.tar.gz bugzilla-383e47ca9ec03a821519474555408c6e78152a7c.tar.xz |
Bug 313020: Implement the ability to add individual bugs to saved searches - Patch by Frédéric Buclin <LpSolit@gmail.com> r=joel a=justdave
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r-- | Bugzilla/User.pm | 5 |
1 files changed, 3 insertions, 2 deletions
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; |