php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58555 Statistics page needs improved sorting
Submitted: 2009-02-15 15:45 UTC Modified: 2010-08-05 16:48 UTC
From: greenreaper at hotmail dot com Assigned:
Status: Closed Package: PECL website (PECL)
PHP Version: HEAD CVS-2009-02-15 (dev) OS: N/A
Private report: No CVE-ID: None
 [2009-02-15 15:45 UTC] greenreaper at hotmail dot com
Description:
------------
The sorting on the statistics page is inconsistent with the main module page, and does not follow either the release date or the version number. It appears to do a standard string sort on the version number, which is inappropriate.

Expected result:
----------------
I expect a sort that either orders correctly by version number, or by release date, both of which would be more readable.

3.1.2  	beta  	2008-12-12  	APC-3.1.2.tgz
3.1.1 	beta 	2008-12-12 	APC-3.1.1.tgz 
3.0.19 	stable 	2008-05-15 	APC-3.0.19.tgz 
3.0.18 	stable 	2008-03-28 	APC-3.0.18.tgz 
....
3.0.10  stable  2006-03-11  	APC-3.0.10.tgz
3.0.9 	stable 	2006-03-04 	APC-3.0.9.tgz

Actual result:
--------------
I get the sorting visible on this page:
http://pecl.php.net/package-stats.php?pid=220&rid=&cid=3

e.g. 
3.1.2  	9,497  	2008-12-12  	2009-02-15 20:37 UTC
3.1.1 	235 	2008-12-12 	2009-02-15 20:35 UTC
3.0.9 	3,128 	2006-03-04 	2009-02-15 20:35 UTC
3.0.8 	31,597 	2005-08-24 	2009-02-15 20:35 UTC
....
3.0.2 	1,216 	2005-07-05 	2009-02-15 20:34 UTC
3.0.19 	122,911 	2008-05-15 	2009-02-15 20:39 UTC
3.0.18 	22,085 	2008-03-28 	2009-02-15 20:34 UTC
...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-05 16:48 UTC] johannes at schlueters dot de
Fixed in SVN. (svn revision 301912)
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Jul 31 20:01:24 2021 UTC