[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. 5cac34c29df688a37459183a0413b0f5baa941fe
Evergreen Git
git at git.evergreen-ils.org
Mon Jul 25 16:37:32 EDT 2011
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_0 has been updated
via 5cac34c29df688a37459183a0413b0f5baa941fe (commit)
from 31e5da7a31b35036114eab9a6b45c10d97246626 (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 5cac34c29df688a37459183a0413b0f5baa941fe
Author: Michael Peters <mrpeters at library.in.gov>
Date: Thu Jul 21 11:21:34 2011 -0400
LP#813151 Copy Location sort order in Advanced Search
This patch addresses the unintuitive copy location sort order in
Advanced Search when searching at a specific branch. Thanks to
Dan Wells for the code suggestion which changes the order in the listbox
to alphabetical sort by asset.copy_location.name.
Tested, and confirmed working in 2.0.4 test and production environments.
Signed-off-by: Michael Peters <mrpeters at library.in.gov>
Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/CopyLocations.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/CopyLocations.pm
index d7f0773..bc4f2c1 100644
--- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/CopyLocations.pm
+++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/CopyLocations.pm
@@ -33,6 +33,7 @@ sub cl_retrieve_all {
}
my $second_cstore_arg = {"no_i18n" => scalar($no_i18n)};
+ $second_cstore_arg->{"order_by"} = {"acpl" => "name"};
if ($flesh_owning_lib) {
$second_cstore_arg->{"flesh"} = 1;
$second_cstore_arg->{"flesh_fields"} = {"acpl" => ["owning_lib"]};
-----------------------------------------------------------------------
Summary of changes:
.../OpenILS/Application/Circ/CopyLocations.pm | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list