diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-02-26 22:53:57 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-02-26 22:53:57 +0100 |
commit | 9fd6e94c03fa3bba09af2aed85d6664575385e9a (patch) | |
tree | 1f4e7c14d435d4b2744beaa47e10ab7ec6dd930d /extensions/MyDashboard | |
parent | 5ccff95a61b0c0816fa42da061c298f794daf33d (diff) | |
download | bugzilla-9fd6e94c03fa3bba09af2aed85d6664575385e9a.tar.gz bugzilla-9fd6e94c03fa3bba09af2aed85d6664575385e9a.tar.xz |
Reverted Bug 836067 due to buglist crashing and do not yet know the reason
Diffstat (limited to 'extensions/MyDashboard')
-rw-r--r-- | extensions/MyDashboard/lib/Queries.pm | 7 |
1 files changed, 5 insertions, 2 deletions
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; |