projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34c2878
)
LP#1078787 Fix serial scoping in TPAC
user/dbwells/lp1078787_sdist_tpac_scoping_fix
author
Dan Wells
<dbw2@calvin.edu>
Thu, 8 May 2014 20:18:11 +0000
(16:18 -0400)
committer
Dan Wells
<dbw2@calvin.edu>
Thu, 8 May 2014 20:18:11 +0000
(16:18 -0400)
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 <dbw2@calvin.edu>
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Serial.pm
patch
|
blob
|
history
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
933f031
..
d445250
100644
(file)
--- 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,