[open-ils-commits] [GIT] Evergreen ILS branch rel_2_6 updated. f23109bbfd0dfabc571c840296179cac95b72431
Evergreen Git
git at git.evergreen-ils.org
Fri Jan 30 12:58:47 EST 2015
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_6 has been updated
via f23109bbfd0dfabc571c840296179cac95b72431 (commit)
from a286ce1362124ce317518f08c7dc12dfc51e1b5d (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 f23109bbfd0dfabc571c840296179cac95b72431
Author: Dan Wells <dbw2 at calvin.edu>
Date: Wed Nov 19 12:16:03 2014 -0500
LP#1389403 Normalizer detection compatibility with LP#1373693
In LP#1373693, $ou_ids become an optional argument when at the top of
the tree. We need to account for that.
Signed-off-by: Dan Wells <dbw2 at calvin.edu>
Signed-off-by: Kathy Lussier <klussier at masslnc.org>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm
index 61e9c07..7f53b53 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm
@@ -356,7 +356,7 @@ sub _label_sortkey_from_label {
"open-ils.cstore.direct.asset.call_number.search.atomic",
{ label_sortkey
=> { ">=" => [$closest_cn->[0]->label_class->normalizer, $label] },
- owning_lib => $ou_ids,
+ (scalar(@$ou_ids) ? (owning_lib => $ou_ids) : ()),
deleted => 'f',
@$cp_filter
},
-----------------------------------------------------------------------
Summary of changes:
.../perlmods/lib/OpenILS/Application/SuperCat.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list