[Koha-bugs] [Bug 28584] Remove hyphens from EAN when adding a new record
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 16 16:21:30 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28584
Owen Leonard <oleonard at myacpl.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #130159|0 |1
is obsolete| |
--- Comment #8 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 130670
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130670&action=edit
Bug 28584: Remove hyphens from EAN when adding new record
Add functionality to TransformMarcToKoha so that hyphens
are removed from biblioitem tables "ean" column but EAN
value in MARC record is not touched.
To test:
1. Apply patch.
2. Create new record with EAN field(s) having hyphen(s) e.g. 74628-8972
3. Check records MARC details
=> EAN has hyphen
4. Check record from biblioitem table in database
=> EAN doesn't have hyphen(s)
Prove t/db_dependent/Biblio/TransfornMarcToKoha.t
Sponsored-by: Koha-Suomi Oy
Signed-off-by: Emmanuel Bétemps <e.betemps at gmail.com>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list