From 6ca6c0e386728b71c51663aa8dd92c3a2e65652a Mon Sep 17 00:00:00 2001 From: miker Date: Fri, 23 Jun 2006 15:45:52 +0000 Subject: [PATCH] fixing authority lookup a bit git-svn-id: svn://svn.open-ils.org/ILS/trunk@4741 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/authority.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/authority.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/authority.pm index a9576923b2..da3c7deaeb 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/authority.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/authority.pm @@ -59,6 +59,7 @@ sub find_authority_marc { my $fts = OpenILS::Application::Storage::FTS->compile($term, 'f.value', "f.$index_col"); + $term =~ s/\W+$//gso; $term =~ s/'/''/gso; $term =~ s/\pM//gso; -- 2.11.0