@@ -, +, @@ 1) Apply the patch 2) Edit an authority Z3950/SRU source in Home > Administration > Z39.50/SRU servers 3) Add the path to an XSLT file in the "XSLT File(s) for transforming results" input, and save 4) Remove the content of the import_records table to avoid cache issues 5) Search for an authority with the "New from Z39.50/SRU" button in authorities home 6) Check that the XSLT transformation has been applied, both in results list and in the import window xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> --- C4/Breeding.pm | 3 +++ 1 file changed, 3 insertions(+) --- a/C4/Breeding.pm +++ a/C4/Breeding.pm @@ -549,6 +549,7 @@ sub Z3950SearchAuth { my $query; my $nterms=0; + my $xslh = Koha::XSLT::Base->new; my $marcflavour = C4::Context->preference('marcflavour'); my $marc_type = $marcflavour eq 'UNIMARC' ? 'UNIMARCAUTH' : $marcflavour; my $authid= $pars->{authid}; @@ -615,6 +616,8 @@ sub Z3950SearchAuth { } else { ( $marcrecord, $charset_result, $charset_errors ) = MarcToUTF8Record( $marcdata, $marc_type, $encoding[$k] ); } + my $error; + ( $marcrecord, $error ) = _do_xslt_proc($marcrecord, $servers[$k], $xslh); my $heading; my $heading_authtype_code; $heading_authtype_code = GuessAuthTypeCode($marcrecord); --