[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_5 updated. 14ba95775bd15bc3b10fff2b0d590c2c9880f995
Evergreen Git
git at git.evergreen-ils.org
Tue Aug 26 13:15:42 EDT 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_5 has been updated
via 14ba95775bd15bc3b10fff2b0d590c2c9880f995 (commit)
via a8bc7be4ccb053e9ea836fba17e54651937db6d9 (commit)
from 12e420843f7c52a4d11be772c95174e80aa8cca5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 14ba95775bd15bc3b10fff2b0d590c2c9880f995
Author: Dan Wells <dbw2 at calvin.edu>
Date: Mon Jul 7 13:16:58 2014 -0400
Fix currently harmless but still confusing sigil error
get_org_descendants() returns an array ref, not a list, so it doesn't
make sense to assign it to an '@orgs' variable. Lucky for us, our
where-parser treats this single element list containing the ref in the
same manner as the proper ref itself, but at best, it is still very
confusing to see.
Signed-off-by: Dan Wells <dbw2 at calvin.edu>
Signed-off-by: Kathy Lussier <klussier at masslnc.org>
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 d445250b..0247f4a 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Serial.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Serial.pm
@@ -123,13 +123,13 @@ sub bib_to_svr {
}
# ou_depth can be undef in get_org_descendants
- my @orgs = $U->get_org_descendants($ou, $ou_depth);
+ my $orgs = $U->get_org_descendants($ou, $ou_depth);
# TODO: 'deleted' ssub support
my $sdists = $e->search_serial_distribution([
{
"+ssub" => {"record_entry" => $bib},
- "holding_lib" => { "in" => @orgs }
+ "holding_lib" => { "in" => $orgs }
},
{
"flesh" => 1,
@@ -143,7 +143,7 @@ sub bib_to_svr {
{
record => $bib,
deleted => 'f',
- "owning_lib" => { "in" => @orgs },
+ "owning_lib" => { "in" => $orgs },
"+sdist" => {"id" => undef}
},
{
commit a8bc7be4ccb053e9ea836fba17e54651937db6d9
Author: Dan Wells <dbw2 at calvin.edu>
Date: Thu May 8 16:18:11 2014 -0400
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 <dbw2 at calvin.edu>
Signed-off-by: Kathy Lussier <klussier at masslnc.org>
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..d445250b 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,
-----------------------------------------------------------------------
Summary of changes:
.../lib/OpenILS/Application/Search/Serial.pm | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list