From: <in...@us...> - 2003-02-25 21:23:33
|
Update of /cvsroot/mantisbt/mantisbt In directory sc8-pr-cvs1:/tmp/cvs-serv7108 Modified Files: main_page.php Log Message: * main_page.php: Added hide resolved filter to links on first page to reflect the database query which is used to calculate the number of open bugs submitted by or assigned to the current user. This fixes bug 2960. Index: main_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/main_page.php,v retrieving revision 1.40 retrieving revision 1.41 diff -u -d -r1.40 -r1.41 --- main_page.php 20 Feb 2003 11:50:30 -0000 1.40 +++ main_page.php 25 Feb 2003 21:23:26 -0000 1.41 @@ -34,12 +34,12 @@ if ( !current_user_is_anonymous() ) { echo '<div class="quick-summary-left">'; echo lang_get( 'open_and_assigned_to_me' ) . ':'; - echo '<a href="view_all_set.php?type=1&reporter_id=any&show_status=any&show_severity=any&show_category=any&handler_id=' . auth_get_current_user_id() . '&hide_closed=on">' . current_user_get_assigned_open_bug_count() . '</a>'; + echo '<a href="view_all_set.php?type=1&reporter_id=any&show_status=any&show_severity=any&show_category=any&handler_id=' . auth_get_current_user_id() . '&hide_closed=on&hide_resolved=on">' . current_user_get_assigned_open_bug_count() . '</a>'; echo '</div>'; echo '<div class="quick-summary-right">'; echo lang_get( 'open_and_reported_to_me' ) . ':'; - echo '<a href="view_all_set.php?type=1&reporter_id=' . auth_get_current_user_id() . '&show_status=any&show_severity=any&show_category=any&handler_id=any&hide_closed=on">' . current_user_get_reported_open_bug_count() . '</a>'; + echo '<a href="view_all_set.php?type=1&reporter_id=' . auth_get_current_user_id() . '&show_status=any&show_severity=any&show_category=any&handler_id=any&hide_closed=on&hide_resolved=on">' . current_user_get_reported_open_bug_count() . '</a>'; echo '</div>'; } ?> |