Lines 595-601
if ( $show_holds_count || $show_priority) {
Link Here
|
595 |
my $biblio = Koha::Biblios->find( $biblionumber ); |
595 |
my $biblio = Koha::Biblios->find( $biblionumber ); |
596 |
my $holds = $biblio->holds; |
596 |
my $holds = $biblio->holds; |
597 |
$template->param( holds_count => $holds->count ); |
597 |
$template->param( holds_count => $holds->count ); |
598 |
while ( my $hold = $holds->new ) { |
598 |
while ( my $hold = $holds->next ) { |
599 |
$item_reserves{ $hold->itemnumber }++ if $hold->itemnumber; |
599 |
$item_reserves{ $hold->itemnumber }++ if $hold->itemnumber; |
600 |
if ($show_priority && $hold->borrowernumber == $borrowernumber) { |
600 |
if ($show_priority && $hold->borrowernumber == $borrowernumber) { |
601 |
$has_hold = 1; |
601 |
$has_hold = 1; |
602 |
- |
|
|