cvs: pearweb /public_html package-stats.php

From: Date: Fri, 20 Oct 2006 23:50:16 +0000
Subject: cvs: pearweb /public_html package-stats.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-5121@lists.php.net to get a copy of this message
cellog Fri Oct 20 23:50:16 2006 UTC Modified files: /pearweb/public_html package-stats.php Log: partially fix Bug #9113 [NEW]: Package stats problems ordering was by the last ps.dl_number instead of the aggregate sum dl_number http://cvs.php.net/viewvc.cgi/pearweb/public_html/package-stats.php?r1=1.78&r2=1.79&diff_format=u Index: pearweb/public_html/package-stats.php diff -u pearweb/public_html/package-stats.php:1.78 pearweb/public_html/package-stats.php:1.79 --- pearweb/public_html/package-stats.php:1.78 Thu Oct 19 15:02:03 2006 +++ pearweb/public_html/package-stats.php Fri Oct 20 23:50:16 2006 @@ -16,7 +16,7 @@ | Authors: Martin Jansen <mj@php.net> | | Richard Heyes <richard@php.net> | +----------------------------------------------------------------------+ - $Id: package-stats.php,v 1.78 2006/10/19 15:02:03 cellog Exp $ + $Id: package-stats.php,v 1.79 2006/10/20 23:50:16 cellog Exp $ */ require_once 'HTML/Form.php'; @@ -321,7 +321,7 @@ $query = sprintf("SELECT SUM(ps.dl_number) AS dl_number, ps.package, ps.release, ps.pid, ps.rid, ps.cid FROM package_stats ps, packages p WHERE p.package_type = 'pear' AND p.id = ps.pid AND - p.category = %s GROUP BY ps.pid ORDER BY ps.dl_number DESC", + p.category = %s GROUP BY ps.pid ORDER BY dl_number DESC", $_GET['cid'] );

« previous php.pear.core (#5121) next »