[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
Fri Feb 4 12:16:31 CET 2022


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

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

--- Comment #4 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 130159
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130159&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>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list