Bugzilla – Attachment 73016 Details for
Bug 19436
Add SRU support for authorities
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19436: (QA follow-up) Revert change in _handle_one_result
Bug-19436-QA-follow-up-Revert-change-in-handleoner.patch (text/plain), 1.43 KB, created by
Marcel de Rooy
on 2018-03-16 10:49:36 UTC
(
hide
)
Description:
Bug 19436: (QA follow-up) Revert change in _handle_one_result
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-03-16 10:49:36 UTC
Size:
1.43 KB
patch
obsolete
>From 2d0cffbbdb28a7d94ef93aa56e8a8d71e4c7415d Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 16 Mar 2018 09:52:19 +0100 >Subject: [PATCH] Bug 19436: (QA follow-up) Revert change in _handle_one_result >Content-Type: text/plain; charset=utf-8 > >See Bugzilla comment 7. This change does not belong here and is >dubious on its own. Needs further attention on another report. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/Breeding.pm | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/C4/Breeding.pm b/C4/Breeding.pm >index bed7912..1654d77 100644 >--- a/C4/Breeding.pm >+++ b/C4/Breeding.pm >@@ -315,9 +315,11 @@ sub _handle_one_result { > my $raw= $zoomrec->raw(); > my $marcrecord; > if( $servhref->{servertype} eq 'sru' ) { >- $raw= MARC::Record->new_from_xml( $raw, $servhref->{encoding}, $servhref->{syntax} ); >+ $marcrecord= MARC::Record->new_from_xml( $raw, 'UTF-8', >+ $servhref->{syntax} ); >+ } else { >+ ($marcrecord) = MarcToUTF8Record($raw, C4::Context->preference('marcflavour'), $servhref->{encoding} // "iso-5426" ); #ignores charset return values > } >- ($marcrecord) = MarcToUTF8Record($raw, C4::Context->preference('marcflavour'), $servhref->{encoding} // "iso-5426" ); #ignores charset return values > SetUTF8Flag($marcrecord); > my $error; > ( $marcrecord, $error ) = _do_xslt_proc($marcrecord, $servhref, $xslh); >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19436
:
72252
|
72841
|
73015
|
73016
|
73017
|
73134
|
73135
|
73136
|
77158
|
77159
|
77160