@@ -, +, @@ issues_stats.pl --- reports/issues_stats.pl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) --- a/reports/issues_stats.pl +++ a/reports/issues_stats.pl @@ -88,6 +88,8 @@ $sep = "\t" if ($sep eq 'tabulation'); $template->param(do_it => $do_it, ); +our $itemtypes = { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search_with_localization->unblessed } }; + our @patron_categories = Koha::Patron::Categories->search_limited({}, {order_by => ['description']}); our $locations = { map { ( $_->{authorised_value} => $_->{lib} ) } Koha::AuthorisedValues->get_descriptions_by_koha_field( { frameworkcode => '', kohafield => 'items.location' }, { order_by => ['description'] } ) }; @@ -151,9 +153,6 @@ my @values; my %labels; my %select; -# create itemtype arrayref for