Skip to content
Browse files

Continuing adding new features

  • Loading branch information...
1 parent 480d29b commit 99b333bbe6d8267733fd68e2194c1e97c349415e @ranginui ranginui committed Jul 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/KC/Dashboard.pm
View
2 lib/KC/Dashboard.pm
@@ -48,7 +48,7 @@ get '/' => sub {
$sth->execute or die $sth->errstr;
my $daybefore = $sth->fetchrow_hashref();
$sql = "SELECT bugs.bug_id,short_desc FROM bugs,bugs_activity WHERE bugs.bug_id = bugs_activity.bug_id
-AND added = 'Pushed to Master' AND bug_severity = 'enhancement' ORDER BY bug_when LIMIT 5";
+AND added = 'Pushed to Master' AND bug_severity = 'enhancement' ORDER BY bug_when desc LIMIT 5";
$sth = database->prepare($sql) or die database->errstr;
$sth->execute or die $sth->errstr;
my $enhancement = $sth->fetchall_arrayref;

0 comments on commit 99b333b

Please sign in to comment.
Something went wrong with that request. Please try again.