[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_6 updated. 556577090f3915a1944f49b44ae09940ff40c607
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, rel_2_6 has been updated
via 556577090f3915a1944f49b44ae09940ff40c607 (commit)
from 627b98a3a580165a58ae0dd73fe3b2921b13c261 (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 556577090f3915a1944f49b44ae09940ff40c607
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