[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. f6bb7916c865d0f7b0843b73dd89a8479b4be4bc

Evergreen Git git at git.evergreen-ils.org
Wed Apr 23 10:18:37 EDT 2014


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  f6bb7916c865d0f7b0843b73dd89a8479b4be4bc (commit)
      from  3665b7c34fffd76cb3b4aa6756ba477f6ff8075a (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 f6bb7916c865d0f7b0843b73dd89a8479b4be4bc
Author: Thomas Berezansky <tsbere at mvlc.org>
Date:   Tue Apr 22 09:20:20 2014 -0400

    LP#1310283: Propogate .staff through Z3950 searches
    
    So that local catalog Z3950 searches don't only show opac visible bibs.
    
    Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
    Signed-off-by: Ben Shum <bshum at biblio.org>

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 0009024..15685b0 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm
@@ -1008,7 +1008,10 @@ sub cat_search_z_style_wrapper {
     $$searchhash{searches}{keyword}{term} .= join ' ', $$searchhash{searches}{keyword}{term}, $$args{search}{pubdate}   if $$args{search}{pubdate};
     $$searchhash{searches}{keyword}{term} .= join ' ', $$searchhash{searches}{keyword}{term}, $$args{search}{item_type} if $$args{search}{item_type};
 
-    my ($list) = $self->method_lookup('open-ils.search.biblio.multiclass.staged')->run( $searchhash );
+    my $method = 'open-ils.search.biblio.multiclass.staged';
+    $method .= '.staff' if $self->api_name =~ /staff$/;
+
+    my ($list) = $self->method_lookup($method)->run( $searchhash );
 
     if ($list->{count} > 0 and @{$list->{ids}}) {
         $result->{count} = $list->{count};

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

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


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list