Skip to content

Commit

Permalink
remove todo item
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Apr 23, 2024
1 parent e4fb3a1 commit 6fd9600
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Thruk/Controller/rest_v1.pm
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,6 @@ sub _apply_stats {
my $all_columns = _parse_columns_data(get_request_columns($c, RAW));
for my $col (@{$all_columns}) {
# check for aggregation function which must be the outer most one
# TODO: check, functions are in reverse order, why check for 0?
if(scalar @{$col->{'func'}} > 0 && $aggregation_functions->{$col->{'func'}->[0]->[0]}) {
push @{$stats_columns}, { op => $col->{'func'}->[0]->[0], col => $col->{'column'} };
push @{$new_columns}, $col;
Expand Down

0 comments on commit 6fd9600

Please sign in to comment.