cvs: pearweb /include/bugs pear-bugs.php
| From: | Greg Beaver | Date: | Mon, 05 Mar 2007 04:32:29 +0000 |
| Subject: | cvs: pearweb /include/bugs pear-bugs.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-44974@lists.php.net to get a copy of this message | ||
cellog Mon Mar 5 04:32:29 2007 UTC
Modified files:
/pearweb/include/bugs pear-bugs.php
Log:
final fixes to bug tracker changes to make it work in all cases
add info on bugs opened/comments made
http://cvs.php.net/viewvc.cgi/pearweb/include/bugs/pear-bugs.php?r1=1.7&r2=1.8&diff_format=u
Index: pearweb/include/bugs/pear-bugs.php
diff -u pearweb/include/bugs/pear-bugs.php:1.7 pearweb/include/bugs/pear-bugs.php:1.8
--- pearweb/include/bugs/pear-bugs.php:1.7 Sun Feb 25 19:14:11 2007
+++ pearweb/include/bugs/pear-bugs.php Mon Mar 5 04:32:29 2007
@@ -81,6 +81,10 @@
b.bug_type \!= "Feature/Change Request" AND
b.status IN ("Assigned", "Analyzed", "Feedback",
"Open", "Critical", "Verified") AND
(b.assign = ? OR b.assign IS NULL OR b.assign="")', array($handle,
$handle));
+ $opened = $this->_dbh->getOne('SELECT COUNT(*) FROM bugdb WHERE
+ handle=?', array($handle));
+ $commented = $this->_dbh->getOne('SELECT COUNT(*) FROM bugdb_comments WHERE
+ handle=?', array($handle));
$opencount = $this->_dbh->getOne('SELECT COUNT(*)
FROM bugdb b, maintains m, packages p
WHERE
@@ -121,6 +125,8 @@
'rank' => $rank,
'alltime' => $alltimecount,
'patches' => $patches,
+ 'opened' => $opened,
+ 'commented' => $commented,
);
}