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 Signed-off-by: jvr <jvr@fct.unl.pt> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
f4b8c4ede9
commit
906d2108b9
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue