https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27774

Frank Hansen <frank.han...@ub.lu.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #117277|0                           |1
        is obsolete|                            |

--- Comment #3 from Frank Hansen <frank.han...@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.han...@ub.lu.se>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to