From 9fd6e94c03fa3bba09af2aed85d6664575385e9a Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Tue, 26 Feb 2013 16:53:57 -0500 Subject: Reverted Bug 836067 due to buglist crashing and do not yet know the reason --- extensions/MyDashboard/lib/Queries.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'extensions/MyDashboard/lib/Queries.pm') diff --git a/extensions/MyDashboard/lib/Queries.pm b/extensions/MyDashboard/lib/Queries.pm index 2ec4c8a74..e81e7f73f 100644 --- a/extensions/MyDashboard/lib/Queries.pm +++ b/extensions/MyDashboard/lib/Queries.pm @@ -145,10 +145,13 @@ sub query_bugs { params => scalar $params->Vars, order => [ QUERY_ORDER ]); - my $data = $search->data; + my $query = $search->sql(); + my $sth = $dbh->prepare($query); + $sth->execute(); + my $rows = $sth->fetchall_arrayref(); my @bugs; - foreach my $row (@$data) { + foreach my $row (@$rows) { my $bug = {}; foreach my $column (SELECT_COLUMNS) { $bug->{$column} = shift @$row; -- cgit v1.2.3-24-g4f1b