[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
Thu Jun 17 13:22:31 CEST 2021


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

Emmi Takkinen <emmi.takkinen at koha-suomi.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|koha-bugs at lists.koha-commun |emmi.takkinen at koha-suomi.fi
                   |ity.org                     |

--- Comment #1 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
Created attachment 122059
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122059&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

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


More information about the Koha-bugs mailing list