From: Galen Charlton Date: Tue, 28 Nov 2017 21:18:35 +0000 (+0000) Subject: LP#1741997: adjust normalization so that heading type matching works better X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ca92aeb26008ea2630eb2a1d03a9b00a65d70ad4;p=working%2FEvergreen.git LP#1741997: adjust normalization so that heading type matching works better Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Browse.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Browse.pm index 8f537c51a5..d817c2cacd 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Browse.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Browse.pm @@ -6,7 +6,7 @@ use warnings; use OpenSRF::Utils::Logger qw/$logger/; use OpenILS::Utils::CStoreEditor qw/:funcs/; use OpenILS::Utils::Fieldmapper; -use OpenILS::Utils::Normalize qw/search_normalize/; +use OpenILS::Utils::Normalize qw/naco_normalize search_normalize/; use OpenILS::Application::AppUtils; use OpenSRF::Utils::JSON; use OpenSRF::Utils::Cache; @@ -145,7 +145,7 @@ sub find_authority_headings_and_notes { my $h = { main_entry => ( $acsaf->main_entry ? 0 : 1 ), heading => _get_authority_heading($field, \%sf_lookup, $acsaf->joiner) }; - my $norm = search_normalize($h->{heading}); + my $norm = naco_normalize($h->{heading}); if (exists $heading_type_map{$norm}) { $h->{type} = $heading_type_map{$norm}; }