From 8388df7ec8c2912541117f6c435aa5d7ea057e9b Mon Sep 17 00:00:00 2001 From: Roland Becker Date: Fri, 21 Oct 2016 11:39:04 +0200 Subject: [PATCH] Display configured number of rows on summary page Fixes #21816 --- core/summary_api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/summary_api.php b/core/summary_api.php index f81a6d4df5..2b8c453e12 100644 --- a/core/summary_api.php +++ b/core/summary_api.php @@ -969,7 +969,7 @@ function summary_print_reporter_resolution( $p_resolution_enum_string ) { foreach( $t_reporter_bugcount_arr as $t_reporter_id => $t_total_user_bugs ) { # Limit the number of reporters listed - if( $t_row_count > $t_reporter_summary_limit ) { + if( $t_row_count >= $t_reporter_summary_limit ) { break; } @@ -1097,7 +1097,7 @@ function summary_print_reporter_effectiveness( $p_severity_enum_string, $p_resol foreach( $t_reporter_bugcount_arr as $t_reporter_id => $t_total_user_bugs ) { # Limit the number of reporters listed - if( $t_row_count > $t_reporter_summary_limit ) { + if( $t_row_count >= $t_reporter_summary_limit ) { break; }