Skip to content

Commit

Permalink
Fix 8024: Longest open issue not restricted to selected project
Browse files Browse the repository at this point in the history
  • Loading branch information
giallu committed Jul 16, 2007
1 parent 023fac9 commit 0034836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions summary_page.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: summary_page.php,v 1.46 2005-08-15 20:55:44 thraxisp Exp $
# $Id: summary_page.php,v 1.46.10.1 2007-07-16 17:30:16 giallu Exp $
# --------------------------------------------------------
?>
<?php
Expand Down Expand Up @@ -54,7 +54,7 @@
$query = "SELECT b.id, b.date_submitted, b.last_updated, MAX(h.date_modified) as hist_update, b.status
FROM $t_bug_table b LEFT JOIN $t_history_table h
ON b.id = h.bug_id AND h.type=0 AND h.field_name='status' AND h.new_value='$t_resolved'
WHERE b.status >='$t_resolved'
WHERE b.status >='$t_resolved' AND $specific_where
GROUP BY b.id, b.status, b.date_submitted, b.last_updated
ORDER BY b.id ASC";
$result = db_query( $query );
Expand Down

0 comments on commit 0034836

Please sign in to comment.