|
Lines 374-392
foreach my $biblionumber (@biblionumbers) {
Link Here
|
| 374 |
my $count = Koha::Holds->search( { biblionumber => $biblionumber } )->count(); |
374 |
my $count = Koha::Holds->search( { biblionumber => $biblionumber } )->count(); |
| 375 |
my $totalcount = $count; |
375 |
my $totalcount = $count; |
| 376 |
|
376 |
|
| 377 |
# FIXME think @optionloop, is maybe obsolete, or must be switchable by a systeme preference fixed rank or not |
|
|
| 378 |
# make priorities options |
| 379 |
|
| 380 |
my @optionloop; |
| 381 |
for ( 1 .. $count + 1 ) { |
| 382 |
push( |
| 383 |
@optionloop, |
| 384 |
{ |
| 385 |
num => $_, |
| 386 |
selected => ( $_ == $count + 1 ), |
| 387 |
} |
| 388 |
); |
| 389 |
} |
| 390 |
# adding a fixed value for priority options |
377 |
# adding a fixed value for priority options |
| 391 |
my $fixedRank = $count+1; |
378 |
my $fixedRank = $count+1; |
| 392 |
|
379 |
|
|
Lines 711-717
foreach my $biblionumber (@biblionumbers) {
Link Here
|
| 711 |
|
698 |
|
| 712 |
# display infos |
699 |
# display infos |
| 713 |
$template->param( |
700 |
$template->param( |
| 714 |
optionloop => \@optionloop, |
|
|
| 715 |
bibitemloop => \@bibitemloop, |
701 |
bibitemloop => \@bibitemloop, |
| 716 |
itemdata_enumchron => $itemdata_enumchron, |
702 |
itemdata_enumchron => $itemdata_enumchron, |
| 717 |
itemdata_ccode => $itemdata_ccode, |
703 |
itemdata_ccode => $itemdata_ccode, |
| 718 |
- |
|
|