Bugzilla – Attachment 45351 Details for
Bug 14971
RIS only outputs the first 10 characters for either ISBN10 or ISBN13
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14971: fix RIS export
Bug-14971-fix-RIS-export.patch (text/plain), 896 bytes, created by
Bernardo Gonzalez Kriegel
on 2015-12-03 12:28:02 UTC
(
hide
)
Description:
Bug 14971: fix RIS export
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2015-12-03 12:28:02 UTC
Size:
896 bytes
patch
obsolete
>From 93214fc999a66ad03b03baa817a3c92749ddc7d6 Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Thu, 3 Dec 2015 09:19:17 -0300 >Subject: [PATCH] Bug 14971: fix RIS export > >This patch removes a limit in RIS.pm print_isbn sub. > >To test: >1) Find in opac a book with an isbn with length(isbn) > 10 >(with dashes or isbn13) >2) Export record to RIS format, check truncated SN field >in exported file >3) Apply the patch >4) Export again, no more truncation >--- > C4/Ris.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Ris.pm b/C4/Ris.pm >index d333461..21acd96 100644 >--- a/C4/Ris.pm >+++ b/C4/Ris.pm >@@ -614,7 +614,7 @@ sub print_isbn { > warn("truncated isbn") if $marcprint; > } > >- my $isbn = substr($isbnfield->subfield('a'), 0, 10); >+ my $isbn = $isbnfield->subfield('a'); > print "SN - ", &charconv($isbn), "\r\n"; > } > } >-- >1.9.1
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 14971
:
45351
|
45434