Skip to content

Commit

Permalink
summary support for projects
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@156 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Feb 4, 2001
1 parent d724ca3 commit a4adddf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion summary_page.php3
Expand Up @@ -11,7 +11,7 @@

$query = "SELECT id, date_submitted, last_updated
FROM $g_mantis_bug_table
WHERE status='resolved'";
WHERE project_id='$g_project_cookie_val' AND status='resolved'";
$result = db_query( $query );
$bug_count = db_num_rows( $result );

Expand All @@ -27,6 +27,7 @@
$t_last_updated = 0;
$t_date_submitted = 0;
}

$t_diff = $t_last_updated - $t_date_submitted;
$t_total_time = $t_total_time + $t_diff;
if ( $t_diff > $t_largest_diff ) {
Expand Down

0 comments on commit a4adddf

Please sign in to comment.