[PECL-BUG] Bug #15971 [Opn->Csd]: Statistics page needs improved sorting

[email protected]
Newsgroups php.pear.webmaster
Message-ID <[email protected]>
Edit report at http://pecl.php.net/bugs/bug.php?id=15971&edit=1

 ID:               15971
 Updated by:       [email protected]
 Reported By:      greenreaper at hotmail dot com
-Status:           Open
+Status:           Closed
 Id:               15971
 Type:             Bug
 Package:          Web Site
 Operating System: N/A
 PHP Version:      HEAD CVS-2009-02-15 (dev)
 New Comment:

Fixed in SVN. (svn revision 301912)


Previous Comments:
------------------------------------------------------------------------

[2009-02-15 15:45:54] 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
...

------------------------------------------------------------------------


-- 
Edit this bug report at http://pecl.php.net/bugs/bug.php?id=15971&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.