@@ -, +, @@ --- circ/view_holdsqueue.pl | 13 ------------- .../intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt | 11 ----------- 2 files changed, 24 deletions(-) --- a/circ/view_holdsqueue.pl +++ a/circ/view_holdsqueue.pl @@ -62,19 +62,6 @@ if ( $run_report ) { ); } -# getting all itemtypes -my $itemtypes = Koha::ItemTypes->search({}, {order_by => 'itemtype'});; -my @itemtypesloop; -while ( my $itemtype = $itemtypes->next ) { - push @itemtypesloop, { - value => $itemtype->itemtype, - }; -} - -$template->param( # FIXME Could be improved passing the $itemtypes iterator directly to the template - itemtypeloop => \@itemtypesloop, -); - # Checking if there is a Fast Cataloging Framework $template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find( 'FA' ); --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt @@ -209,17 +209,6 @@ $(document).ready(function() { [% PROCESS options_for_libraries libraries => Branches.all() %] -
--