[Koha-bugs] [Bug 27774] Always remove hyphens from ISBN when cataloging
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Feb 25 15:31:04 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27774
Frank Hansen <frank.hansen at ub.lu.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #117277|0 |1
is obsolete| |
--- Comment #3 from Frank Hansen <frank.hansen at ub.lu.se> ---
Created attachment 117329
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117329&action=edit
Bug 27774: Always remove hyphens from ISBN when cataloging
Actually hyphens are removed from ISBN when using acquisition or z3950
cataloguing or with bulkmarcimport.
I propose to add this behavior in TransformMarcToKoha() so MARC data is
unchanged, but biblioitems.isbn is without hyphens. This can be used if search
using SQL and in reports.
We may after this remove other codes that remove hyphens before
cataloguing a biblio record.
Test plan :
1) Create a new record with an ISBN with hyphen, ie 978-0008376109
2) Save
3) Export to MARCXML and see ISBN has hyphen
4) Look into database : select isbn from biblioitems where
bilionumber=xxx
5) Check you see ISBN without hyphen
Signed-off-by: Frank Hansen <frank.hansen at ub.lu.se>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list