From ab657f05fdb30a6cdbff23aa053bfa8a9ebd7da6 Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Thu, 8 May 2014 16:18:11 -0400 Subject: [PATCH] LP#1078787 Fix serial scoping in TPAC If you have generated holdings, but are not using the "compressed" display, your holdings show up regardless of scope. This change limits the display to only sdists with a holding_lib in your current search scope. Signed-off-by: Dan Wells Signed-off-by: Kathy Lussier --- Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Serial.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Serial.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Serial.pm index 933f031641..d445250bcc 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Serial.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Serial.pm @@ -128,7 +128,8 @@ sub bib_to_svr { # TODO: 'deleted' ssub support my $sdists = $e->search_serial_distribution([ { - "+ssub" => {"record_entry" => $bib} + "+ssub" => {"record_entry" => $bib}, + "holding_lib" => { "in" => @orgs } }, { "flesh" => 1, -- 2.11.0