summaryrefslogtreecommitdiffstats
path: root/extensions/MyDashboard
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-02-26 22:53:57 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-02-26 22:53:57 +0100
commit9fd6e94c03fa3bba09af2aed85d6664575385e9a (patch)
tree1f4e7c14d435d4b2744beaa47e10ab7ec6dd930d /extensions/MyDashboard
parent5ccff95a61b0c0816fa42da061c298f794daf33d (diff)
downloadbugzilla-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.pm7
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;