[Koha-bugs] [Bug 13646] Facets encoding problem with GRS1

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 12 17:52:21 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13646

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

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

--- Comment #6 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 35880
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35880&action=edit
[SIGNED OFF] Bug 13646: Fix facets encoding problem for GSR1

Since bug 11944, the facets are not correctly encoded if the indexing
mode is GRS1.

In MARC::File::USMARC
  # if utf8 the we encode the string as utf8
  if ( $marc->encoding() eq 'UTF-8' ) {
      $tagdata = marc_to_utf8( $tagdata );
  }
$marc->encoding return 'MARC8' because the utf8 flag is not set on the marc
record.

Test plan:
On an installation set with GRS1, launch a search and verify you have
facets correctly encoded.

Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

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


More information about the Koha-bugs mailing list