TPAC: Prevent OU-invisible copies from being displayed to public user/dbs/lp959577
authorDan Scott <dscott@laurentian.ca>
Mon, 19 Mar 2012 20:04:49 +0000 (16:04 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 19 Mar 2012 20:08:09 +0000 (16:08 -0400)
commitc4839b144c30836ee72d8e711213ac86564b60cb
tree4c267082bd9b5190da33d94bcd10d71f26bbf58a
parent9222fb95a4e33eb8e634cf240c6db59e3c1e7349
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@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm