Lines 783-789
if (scalar(@itemloop) == 0 || scalar(@otheritemloop) == 0) {
Link Here
|
783 |
} |
783 |
} |
784 |
|
784 |
|
785 |
my $marcnotesarray = $biblio->get_marc_notes({ marcflavour => $marcflavour, opac => 1 }); |
785 |
my $marcnotesarray = $biblio->get_marc_notes({ marcflavour => $marcflavour, opac => 1 }); |
786 |
my $marcauthorsarray = $biblio->get_marc_authors; |
|
|
787 |
|
786 |
|
788 |
if( C4::Context->preference('ArticleRequests') ) { |
787 |
if( C4::Context->preference('ArticleRequests') ) { |
789 |
my $patron = $borrowernumber ? Koha::Patrons->find($borrowernumber) : undef; |
788 |
my $patron = $borrowernumber ? Koha::Patrons->find($borrowernumber) : undef; |
Lines 799-805
if( C4::Context->preference('ArticleRequests') ) {
Link Here
|
799 |
my $norequests = ! $biblio->items->filter_by_for_hold->count; |
798 |
my $norequests = ! $biblio->items->filter_by_for_hold->count; |
800 |
$template->param( |
799 |
$template->param( |
801 |
MARCNOTES => $marcnotesarray, |
800 |
MARCNOTES => $marcnotesarray, |
802 |
MARCAUTHORS => $marcauthorsarray, |
|
|
803 |
norequests => $norequests, |
801 |
norequests => $norequests, |
804 |
RequestOnOpac => C4::Context->preference("RequestOnOpac"), |
802 |
RequestOnOpac => C4::Context->preference("RequestOnOpac"), |
805 |
itemdata_ccode => $itemfields{ccode}, |
803 |
itemdata_ccode => $itemfields{ccode}, |
806 |
- |
|
|