|
Lines 792-798
if (scalar(@itemloop) == 0 || scalar(@otheritemloop) == 0) {
Link Here
|
| 792 |
} |
792 |
} |
| 793 |
|
793 |
|
| 794 |
my $marcnotesarray = $biblio->get_marc_notes({ marcflavour => $marcflavour, opac => 1 }); |
794 |
my $marcnotesarray = $biblio->get_marc_notes({ marcflavour => $marcflavour, opac => 1 }); |
| 795 |
my $marcauthorsarray = $biblio->get_marc_authors; |
|
|
| 796 |
|
795 |
|
| 797 |
if( C4::Context->preference('ArticleRequests') ) { |
796 |
if( C4::Context->preference('ArticleRequests') ) { |
| 798 |
my $patron = $borrowernumber ? Koha::Patrons->find($borrowernumber) : undef; |
797 |
my $patron = $borrowernumber ? Koha::Patrons->find($borrowernumber) : undef; |
|
Lines 807-813
if( C4::Context->preference('ArticleRequests') ) {
Link Here
|
| 807 |
|
806 |
|
| 808 |
$template->param( |
807 |
$template->param( |
| 809 |
MARCNOTES => $marcnotesarray, |
808 |
MARCNOTES => $marcnotesarray, |
| 810 |
MARCAUTHORS => $marcauthorsarray, |
|
|
| 811 |
norequests => $norequests, |
809 |
norequests => $norequests, |
| 812 |
RequestOnOpac => C4::Context->preference("RequestOnOpac"), |
810 |
RequestOnOpac => C4::Context->preference("RequestOnOpac"), |
| 813 |
itemdata_ccode => $itemfields{ccode}, |
811 |
itemdata_ccode => $itemfields{ccode}, |
| 814 |
- |
|
|