[open-ils-commits] [GIT] Evergreen ILS branch rel_2_12 updated. 60b3c36ccb9e55e376b9cb58a76e505d9c9cb415

Evergreen Git git at git.evergreen-ils.org
Mon May 8 09:05:40 EDT 2017


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_12 has been updated
       via  60b3c36ccb9e55e376b9cb58a76e505d9c9cb415 (commit)
      from  7374f723d17d0964fd0af9b8c2fc3c15003e3703 (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 60b3c36ccb9e55e376b9cb58a76e505d9c9cb415
Author: Bill Erickson <berickxx at gmail.com>
Date:   Tue May 2 11:51:12 2017 -0400

    LP#1687649 Z39.50 CQL query parser honors bools
    
    To test with yaz-client, Z server on localhost, database=evergreen:
    
    Z> open localhost:2210/evergreen
    Z> find @or @attr 1=4 @attr 4=6 "potter" @attr 1=4 @attr 4=6 "piano"
    
    "Number of hits:" value should be greater than zero (~38) using the
    concerto data set.
    
    Similarly, opensrf logs should contain the line:
    
    SRU search string [(title = potter or title = piano)] converted to
    [title:potter || title:piano]
    
    Signed-off-by: Bill Erickson <berickxx at gmail.com>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm
index e9e3487..bb1dbd6 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm
@@ -2125,7 +2125,7 @@ sub sru_search {
         my $op =  '||' if uc $self->op() eq 'OR';
         $op ||=  '&&';
 
-        return  "$leftStr $rightStr";
+        return  "$leftStr $op $rightStr";
     }
 
     sub toEvergreenAuth {

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

Summary of changes:
 Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list