[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. 00e68724394497a8108718d9bbee97f3d9bb7c44

Evergreen Git git at git.evergreen-ils.org
Wed Aug 3 13:02:27 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_0 has been updated
       via  00e68724394497a8108718d9bbee97f3d9bb7c44 (commit)
      from  e80abb25095b14fe30d7942a5e86fdccd00960b9 (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 00e68724394497a8108718d9bbee97f3d9bb7c44
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/OpenILS/Application/Search/Biblio.pm b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
index 9d10ed9..e12ccb1 100644
--- a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
+++ b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
@@ -685,7 +685,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:
 .../perlmods/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