[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_5 updated. 693e05226dedd282d5d2ae4a5dd91a3877c7d618
Evergreen Git
git at git.evergreen-ils.org
Wed Jan 8 17:08:30 EST 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_5 has been updated
via 693e05226dedd282d5d2ae4a5dd91a3877c7d618 (commit)
from 02f578de015007d348413bc4f228e30648140cdb (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 693e05226dedd282d5d2ae4a5dd91a3877c7d618
Author: Jeff Davis <jdavis at sitka.bclibraries.ca>
Date: Wed Jan 8 13:21:13 2014 -0800
Fix bug that caused deleted holdings to be visible in SRU/Z39.50 results
Signed-off-by: Jeff Davis <jdavis at sitka.bclibraries.ca>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm
index 64687720..4d4ed93 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm
@@ -2042,7 +2042,7 @@ sub basic_record_holdings {
$logger->debug("Searching for holdings at orgs [".join(',', at ou_ids)."], based on $ou");
for my $cn (@{$tree->call_numbers}) {
- next unless ( $cn->deleted eq 'f' || $cn->deleted == 0 );
+ next unless ( $cn->deleted eq 'f' || !$cn->deleted );
my $found = 0;
for my $c (@{$cn->copies}) {
@@ -2078,7 +2078,7 @@ sub _cp_is_visible {
my $cp = shift;
my $visible = 0;
- if ( ($cp->deleted eq 'f' || $cp->deleted == 0) &&
+ if ( ($cp->deleted eq 'f' || !$cp->deleted) &&
$cp->location->opac_visible eq 't' &&
$cp->status->opac_visible eq 't' &&
$cp->opac_visible eq 't' &&
-----------------------------------------------------------------------
Summary of changes:
.../perlmods/lib/OpenILS/Application/SuperCat.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list