Skip to content

Commit

Permalink
Fix bug #9395. Script was passing category id rather than category na…
Browse files Browse the repository at this point in the history
…me. Filter api is still expecting a category name.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@5416 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Daryn Warriner committed Jul 16, 2008
1 parent d80b8e8 commit 7602bbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/summary_api.php
Expand Up @@ -608,7 +608,7 @@ function summary_print_by_category() {
$label = sprintf( '[%s] %s', project_get_name( $last_project ), $label );
}

$t_bug_link = '<a class="subtle" href="' . config_get( 'bug_count_hyperlink_prefix' ) . '&amp;show_category=' . urlencode( $last_category_id );
$t_bug_link = '<a class="subtle" href="' . config_get( 'bug_count_hyperlink_prefix' ) . '&amp;show_category=' . urlencode( $last_category_name );
if ( 0 < $t_bugs_open ) {
$t_bugs_open = $t_bug_link . '&amp;hide_status=' . RESOLVED . '">' . $t_bugs_open . '</a>';
}
Expand Down Expand Up @@ -652,7 +652,7 @@ function summary_print_by_category() {
$label = sprintf( '[%s] %s', project_get_name( $last_project ), $label );
}

$t_bug_link = '<a class="subtle" href="' . config_get( 'bug_count_hyperlink_prefix' ) . '&amp;show_category=' . urlencode( $last_category_id );
$t_bug_link = '<a class="subtle" href="' . config_get( 'bug_count_hyperlink_prefix' ) . '&amp;show_category=' . urlencode( $last_category_name );
if ( !is_blank( $t_bug_link ) ) {
if ( 0 < $t_bugs_open ) {
$t_bugs_open = $t_bug_link . '&amp;hide_status=' . RESOLVED . '">' . $t_bugs_open . '</a>';
Expand Down

0 comments on commit 7602bbc

Please sign in to comment.