From e8fb1f54fdc871dc313641d035d25370b171babf Mon Sep 17 00:00:00 2001 From: Liam Whalen Date: Wed, 20 Jul 2011 12:49:27 -0400 Subject: [PATCH] Deleted a line the removed single quotes (') from search strings The multiclass_query function replaces single quotes with spaces (') ( ). This causes a problem when toggling between Advanced and Basic search. If a search is conducted with a ' in it, that quote appears in the basic search box displayed above the results. However, if the user then clicks the 'Advanced' button to toggle to the advanced search the single quote is missing from the search term. By removing the line $query =~ /s/'/ /go; from Biblio.pm this problem is resolved. Signed-off-by: Liam Whalen Signed-off-by: Mike Rylander --- Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm index 01212dae55..92cb75ae90 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm @@ -789,7 +789,6 @@ sub multiclass_query { my $orig_query = $query; $query =~ s/\+/ /go; - $query =~ s/'/ /go; $query =~ s/^\s+//go; # convert convenience classes (e.g. kw for keyword) to the full class name -- 2.11.0