[open-ils-commits] [GIT] Evergreen ILS branch rel_3_4 updated. bb9a04aff2da25a0f7b7a7bf8bd11bbf61a77f87

Evergreen Git git at git.evergreen-ils.org
Tue Jul 28 10:14:09 EDT 2020


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_3_4 has been updated
       via  bb9a04aff2da25a0f7b7a7bf8bd11bbf61a77f87 (commit)
      from  ed894762a29d90ddb0eb5faff2166668355cd9fd (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 bb9a04aff2da25a0f7b7a7bf8bd11bbf61a77f87
Author: Jane Sandberg <sandbej at linnbenton.edu>
Date:   Wed Oct 3 09:04:54 2018 -0700

    LP1795469: Opac holdings sort now considers CN suffix
    
    To test:
    1) Create a bunch of Call Number suffixes in Administration
    -> Server Administration -> Call Number Suffixes.
    2) Go to a bib record, and add a bunch of holdings,
    all with the same call number label, owning/circ libraries,
    item numbers, and parts (if using parts) but with different
    barcodes and CN suffixes.
    3) Look at the OPAC view of these holdings.  Note that they
    are in order by barcode, without any consideration for
    the CN suffix.
    4) Apply this commit.
    5) Look at the OPAC view again.  Note that they are now sorted
    by CN suffix, and then by barcode.
    
    Signed-off-by: Jane Sandberg <sandbej at linnbenton.edu>
    Signed-off-by: Josh Stompro <stompro at stompro.org>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
index f44e6ef049..9190ad81b8 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
@@ -2153,6 +2153,7 @@ sub basic_opac_copy_query {
         order_by => [
             {class => 'aou', field => 'name'},
             {class => 'acn', field => 'label_sortkey'},
+            {class => 'acns', field => 'label_sortkey'},
             {class => 'bmp', field => 'label_sortkey'},
             {class => 'acp', field => 'copy_number'},
             {class => 'acp', field => 'barcode'}

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm | 1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list