From 11acd368ee65dfc8e36622b49072b2e41499a6a0 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 --- 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