[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. e8fb1f54fdc871dc313641d035d25370b171babf

Evergreen Git git at git.evergreen-ils.org
Wed Aug 3 13:03:41 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, rel_2_1 has been updated
       via  e8fb1f54fdc871dc313641d035d25370b171babf (commit)
      from  640662feefb62aabdfe673f5614f2dafdff4c0df (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 e8fb1f54fdc871dc313641d035d25370b171babf
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