svn: /web/pecl/trunk/include/ pear-database.php
| From: | Johannes Schlüter | Date: | Thu, 05 Aug 2010 20:48:01 +0000 |
| Subject: | svn: /web/pecl/trunk/include/ pear-database.php | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-14538@lists.php.net to get a copy of this message | ||
johannes Thu, 05 Aug 2010 20:48:01 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=301912
Log:
- Fix PECL Bug #15971: Statistics page needs improved sorting
Bug: http://pecl.php.net/bugs/15971 (unknown)
Changed paths:
U web/pecl/trunk/include/pear-database.php
Modified: web/pecl/trunk/include/pear-database.php
===================================================================
--- web/pecl/trunk/include/pear-database.php 2010-08-05 20:38:10 UTC (rev 301911)
+++ web/pecl/trunk/include/pear-database.php 2010-08-05 20:48:01 UTC (rev 301912)
@@ -2817,7 +2817,7 @@
if (!empty($rid)) {
$query .= " AND rid = " . (int)$rid;
}
- $query .= " GROUP BY s.release HAVING COUNT(r.id) > 0 ORDER BY s.release
DESC";
+ $query .= " GROUP BY s.release HAVING COUNT(r.id) > 0 ORDER BY r.releasedate
DESC";
return $dbh->getAll($query, DB_FETCHMODE_ASSOC);
}