|
Lines 540-546
my $holds = $biblio->holds;
Link Here
|
| 540 |
$template->param( holdcount => $holds->count ); |
540 |
$template->param( holdcount => $holds->count ); |
| 541 |
|
541 |
|
| 542 |
# Check if there are any ILL requests connected to the biblio |
542 |
# Check if there are any ILL requests connected to the biblio |
| 543 |
my $illrequests = Koha::Illrequests->search({ biblio_id => $biblionumber }); |
543 |
my $illrequests = |
|
|
544 |
C4::Context->preference('ILLModule') |
| 545 |
? Koha::Illrequests->search( { biblio_id => $biblionumber } ) |
| 546 |
: []; |
| 544 |
$template->param( illrequests => $illrequests ); |
547 |
$template->param( illrequests => $illrequests ); |
| 545 |
|
548 |
|
| 546 |
my $StaffDetailItemSelection = C4::Context->preference('StaffDetailItemSelection'); |
549 |
my $StaffDetailItemSelection = C4::Context->preference('StaffDetailItemSelection'); |