View | Details | Raw Unified | Return to bug 23407
Collapse All | Expand All

(-)a/C4/XSLT.pm (-2 / +6 lines)
Lines 242-248 sub XSLTParse4Display { Link Here
242
242
243
    # grab the XML, run it through our stylesheet, push it out to the browser
243
    # grab the XML, run it through our stylesheet, push it out to the browser
244
    my $record = transformMARCXML4XSLT($biblionumber, $orig_record);
244
    my $record = transformMARCXML4XSLT($biblionumber, $orig_record);
245
    my $itemsxml  = buildKohaItemsNamespace($biblionumber, $hidden_items);
245
    my $itemsxml;
246
    if ( $xslsyspref eq "OPACXSLTDetailsDisplay" || $xslsyspref eq "XSLTDetailsDisplay" || $xslsyspref eq "XSLTResultsDisplay" ) {
247
        $itemsxml = ""; #We don't use XSLT for items display on these pages
248
    } else {
249
        $itemsxml = buildKohaItemsNamespace($biblionumber, $hidden_items);
250
    }
246
    my $xmlrecord = $record->as_xml(C4::Context->preference('marcflavour'));
251
    my $xmlrecord = $record->as_xml(C4::Context->preference('marcflavour'));
247
252
248
    $variables ||= {};
253
    $variables ||= {};
249
- 

Return to bug 23407