@@ -, +, @@ - Activate XSLT display in intranet details XSLTDetailsDisplay syspref - Create a new authorized value categorie : ie "AUTHVAL" - Add a new authorized value and description : ie "VAL" and "Description for VAL" - Edit default framework - Edit a note subfield : 3xx for UNIMARC, 5xx for others) : ie 326$a - Set authorized value "AUTHVAL" for this subfield - Edit a biblio with default framework - Choose authorized value for speficied subfield : ie "Description for VAL" for 326$a - Go to detail page and click on "Descriptions" tab --- C4/XSLT.pm | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) --- a/C4/XSLT.pm +++ a/C4/XSLT.pm @@ -177,7 +177,8 @@ sub XSLTParse4Display { } # grab the XML, run it through our stylesheet, push it out to the browser - my $record = transformMARCXML4XSLT($biblionumber, $orig_record); + my $record = $orig_record->clone(); # work on a copy + $record = transformMARCXML4XSLT($biblionumber, $record); #return $record->as_formatted(); my $itemsxml = buildKohaItemsNamespace($biblionumber, $hidden_items); my $xmlrecord = $record->as_xml(C4::Context->preference('marcflavour')); --