Bug 18051: Set UTF8 Flag for record searches/imports from rancor
commit4d92e3d284e392ad681b095c02965fe57a85a5a1
authorNick Clemens <nick@bywatersolutions.com>
Thu, 29 Oct 2020 12:18:56 +0000 (29 12:18 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 2 Nov 2020 08:00:07 +0000 (2 09:00 +0100)
treefc379ee7862a4285f42d85d867245ba8fdbc3801
parent59588c3a3e3390c2796ac417696829fd26fcb4f0
Bug 18051: Set UTF8 Flag for record searches/imports from rancor

The advanced cataloging editor uses Koha::MetaSearcher to find and import records
from Z3950.

The records are correctly converted to UTF8, however, we need to set the flag in the
record to ensure they are parsed correctly later

To test:
 1 - Add OHIOLINK as a z39 source as described in earlier comments
 2 - Browse to Cataloging->Advanced editor
 3 - Click Search->Advanced
 4 - Select OHIOLINK
 5 - Search for author 'capek karel'
 6 - Note records look bad
 7 - Apply patch
 8 - Restart all the things
 9 - Repeat
10 - Success!

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/MetaSearcher.pm