Skip to content

Commit

Permalink
Summary: sort "Dev by Resolution" by total bug count
Browse files Browse the repository at this point in the history
This makes the report consistent with "Reporter by Resolution".

Fixes #11327
  • Loading branch information
dregad committed Jan 24, 2018
1 parent 402a426 commit 26ae1f6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/summary_api.php
Expand Up @@ -797,6 +797,13 @@ function summary_print_developer_resolution( $p_resolution_enum_string ) {
$t_arr = db_fetch_array( $t_result );
}

# Sort array so devs with highest number of bugs are listed first
uasort( $t_handler_res_arr,
function( $a, $b ) {
return $b['total'] - $a['total'];
}
);

$t_filter_prefix = config_get( 'bug_count_hyperlink_prefix' );
$t_row_count = 0;

Expand Down

0 comments on commit 26ae1f6

Please sign in to comment.