]> git.koha-community.org Git - koha.git/commit
Bug 18051: Set UTF8 Flag for record searches/imports from rancor
authorNick Clemens <nick@bywatersolutions.com>
Thu, 29 Oct 2020 12:18:56 +0000 (12:18 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 16 Nov 2020 18:07:38 +0000 (18:07 +0000)
commit5b5c58e08b04fa6c329d30d834329194ffd422bf
treef937df6f39afa9bb893480e6d8727029ccda486c
parentcc36475cff550beed85c646dd4ed0d45ac8918b3
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>
(cherry picked from commit 4d92e3d284e392ad681b095c02965fe57a85a5a1)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/MetaSearcher.pm