diff --git a/lib/App/ElasticSearch/Utilities/Aggregations.pm b/lib/App/ElasticSearch/Utilities/Aggregations.pm index 581e78a..0d5a224 100644 --- a/lib/App/ElasticSearch/Utilities/Aggregations.pm +++ b/lib/App/ElasticSearch/Utilities/Aggregations.pm @@ -184,7 +184,7 @@ sub expand_aggregate_string { return \%aggs; } -=func es_flatten_agggregations() +=func es_flatten_aggregations() Takes the B section of the query result and parses it into a flat structure so each row contains all the sub aggregation information. @@ -280,10 +280,10 @@ sub es_flatten_aggregations { } # Setup Aliases -=for es_flatten_aggs +*es_flatten_aggs = \&es_flatten_aggregations; -=cut +=for Pod::Coverage es_flatten_aggs -*es_flatten_aggs = \&es_flatten_aggregations; +=cut 1;