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