From 2cd2287587dabb1af2911ebd0ab67aa978672402 Mon Sep 17 00:00:00 2001
From: Liam Whalen <lwhalen@evergreen-dev.catalogue.nrcan.gc.ca>
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 <lwhalen@evergreen-dev.catalogue.nrcan.gc.ca>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
---
 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