[open-ils-commits] [GIT] Evergreen ILS branch master updated. 2cd2287587dabb1af2911ebd0ab67aa978672402

Evergreen Git git at git.evergreen-ils.org
Wed Aug 3 13:04:48 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  2cd2287587dabb1af2911ebd0ab67aa978672402 (commit)
      from  dc68d5ed06591cbae2cca876fdc1474385d789ae (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2cd2287587dabb1af2911ebd0ab67aa978672402
Author: Liam Whalen <lwhalen at evergreen-dev.catalogue.nrcan.gc.ca>
Date:   Wed Jul 20 12:49:27 2011 -0400

    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 at evergreen-dev.catalogue.nrcan.gc.ca>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

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 01212da..92cb75a 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

-----------------------------------------------------------------------

Summary of changes:
 .../lib/OpenILS/Application/Search/Biblio.pm       |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list