TPAC: Prevent OU-invisible copies from being displayed to public user/dyrcona/lp959577
authorDan Scott <dscott@laurentian.ca>
Mon, 19 Mar 2012 20:04:49 +0000 (16:04 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Mon, 19 Mar 2012 20:44:17 +0000 (16:44 -0400)
commit2b876b7d10c8d5e7c34b2a1971b092d1aadd9b24
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>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm