[Koha-bugs] [Bug 14420] bulkmarcimport.pl - Some problems
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Apr 5 05:13:06 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14420
--- Comment #6 from M. Tompsett <mtompset at hotmail.com> ---
(In reply to Vitor Fernandes from comment #0)
> PROBLEM 1
>
> If a record as some than one ISBN, the values are recorded in database like
> 'isbn1 | isbn2 | isbn3'.
>
> In the script the ISBN match are only checking for exact ISBN matching.
This is because:
020 - International Standard Book Number (R)
-- The 020 field is repeatable. This is clearly bad data, but yes, we should
attempt to parse for it.
I don't like the multiple likes fix provided here.
I would prefer a:
my @isbns = parseIsbnField($isbn_field_value);
foreach my $isbn (@isbns) {
search for the individual isbn
...
}
sub parseIsbnField {
my ($isbn_data) = @_;
see if we can split out some ISBNs. ...
return an array of the results.
}
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list