[open-ils-commits] [GIT] Evergreen ILS branch master updated. 2b876b7d10c8d5e7c34b2a1971b092d1aadd9b24

Evergreen Git git at git.evergreen-ils.org
Mon Mar 19 17:14:44 EDT 2012


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  2b876b7d10c8d5e7c34b2a1971b092d1aadd9b24 (commit)
      from  9222fb95a4e33eb8e634cf240c6db59e3c1e7349 (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 2b876b7d10c8d5e7c34b2a1971b092d1aadd9b24
Author: Dan Scott <dscott at laurentian.ca>
Date:   Mon Mar 19 16:04:49 2012 -0400

    TPAC: Prevent OU-invisible copies from being displayed to public
    
    Per LP# 959577, "We've found that copies from OU's with OPAC visible set
    to false are displaying on the record details page of tpac."
    
    This fixes that by including the pertinent clause in mk_copy_query()'s
    version of what in-db unapi does. Some day we will unite under the same
    logic and be stronger!
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>
    Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
index 2daaf2f..e977a47 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
@@ -248,6 +248,7 @@ sub mk_copy_query {
         $query->{where}->{'+acp'}->{opac_visible} = 't';
         $query->{from}->{'acp'}->{'acpl'}->{filter} = {opac_visible => 't'};
         $query->{from}->{'acp'}->{'ccs'}->{filter} = {opac_visible => 't'};
+        $query->{from}->{'acp'}->{'aou'}->{filter} = {opac_visible => 't'};
     }
 
     return $query;

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

Summary of changes:
 .../perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list