Bug 29049: Remove reference to optionloop
It's no longer used. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
3dd9f24d9c
commit
269f52f5ae
1 changed files with 0 additions and 14 deletions
|
@ -374,19 +374,6 @@ foreach my $biblionumber (@biblionumbers) {
|
||||||
my $count = Koha::Holds->search( { biblionumber => $biblionumber } )->count();
|
my $count = Koha::Holds->search( { biblionumber => $biblionumber } )->count();
|
||||||
my $totalcount = $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
|
# adding a fixed value for priority options
|
||||||
my $fixedRank = $count+1;
|
my $fixedRank = $count+1;
|
||||||
|
|
||||||
|
@ -711,7 +698,6 @@ foreach my $biblionumber (@biblionumbers) {
|
||||||
|
|
||||||
# display infos
|
# display infos
|
||||||
$template->param(
|
$template->param(
|
||||||
optionloop => \@optionloop,
|
|
||||||
bibitemloop => \@bibitemloop,
|
bibitemloop => \@bibitemloop,
|
||||||
itemdata_enumchron => $itemdata_enumchron,
|
itemdata_enumchron => $itemdata_enumchron,
|
||||||
itemdata_ccode => $itemdata_ccode,
|
itemdata_ccode => $itemdata_ccode,
|
||||||
|
|
Loading…
Reference in a new issue