From 8d4c9703a073699d4155cc36fb2ee0083f8379ac Mon Sep 17 00:00:00 2001 From: Finn Date: Thu, 14 Jun 2018 16:47:36 +0100 Subject: [PATCH] got rid of Dwarn --- lib/Pear/LocalLoop/Controller/Api/Stats.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Pear/LocalLoop/Controller/Api/Stats.pm b/lib/Pear/LocalLoop/Controller/Api/Stats.pm index 0536bb8..2f698cc 100644 --- a/lib/Pear/LocalLoop/Controller/Api/Stats.pm +++ b/lib/Pear/LocalLoop/Controller/Api/Stats.pm @@ -134,7 +134,6 @@ sub post_customer { my @cat_lists = map { { category => $_, value => $cat_total_list{$_}, icon => $c->schema->resultset('Category')->as_hash_name_icon->{$_} } } sort keys %cat_total_list; - Dwarn @cat_lists; $data->{cat_list} = [ sort { $b->{value} <=> $a->{value} } @cat_lists ]; my $purchase_no_essential_rs = $purchase_rs->search({