[open-ils-commits] [GIT] Evergreen ILS branch master updated. 431fab78e5153f87dcb3acf2251ad19efadeba13

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, master has been updated
       via  431fab78e5153f87dcb3acf2251ad19efadeba13 (commit)
      from  88ba882614149d699d7b25e25a8eb05fd7abb07b (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 431fab78e5153f87dcb3acf2251ad19efadeba13
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/lib/OpenILS/Application/Circ/CopyLocations.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CopyLocations.pm
index d7f0773..bc4f2c1 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CopyLocations.pm
+++ b/Open-ILS/src/perlmods/lib/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:
 .../lib/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