[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_4 updated. cd92c579b78cdc4ffcaaf0bb0922412400d311d9

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_4 has been updated
       via  cd92c579b78cdc4ffcaaf0bb0922412400d311d9 (commit)
      from  d7ef743766389a85111f9061cce17687ba5326a1 (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 cd92c579b78cdc4ffcaaf0bb0922412400d311d9
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>
    
    Conflicts:
    	Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm
index 2e7000e..507f885 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