From: Dan Wells Date: Thu, 8 May 2014 20:18:11 +0000 (-0400) Subject: LP#1078787 Fix serial scoping in TPAC X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ab657f05fdb30a6cdbff23aa053bfa8a9ebd7da6;p=working%2FEvergreen.git 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 --- 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,