From 0c6b4afe0275c3291350a9666a2212738e2f5f42 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 28 Sep 2021 14:17:36 +0200 Subject: [PATCH] Bug 29049: Remove reference to optionloop It's no longer used. Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- reserve/request.pl | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/reserve/request.pl b/reserve/request.pl index ec38df02fe..3de4a698c7 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -376,19 +376,6 @@ foreach my $biblionumber (@biblionumbers) { my $count = Koha::Holds->search( { biblionumber => $biblionumber } )->count(); my $totalcount = $count; - # FIXME think @optionloop, is maybe obsolete, or must be switchable by a systeme preference fixed rank or not - # make priorities options - - my @optionloop; - for ( 1 .. $count + 1 ) { - push( - @optionloop, - { - num => $_, - selected => ( $_ == $count + 1 ), - } - ); - } # adding a fixed value for priority options my $fixedRank = $count+1; @@ -713,7 +700,6 @@ foreach my $biblionumber (@biblionumbers) { # display infos $template->param( - optionloop => \@optionloop, bibitemloop => \@bibitemloop, itemdata_enumchron => $itemdata_enumchron, itemdata_ccode => $itemdata_ccode, -- 2.39.2