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

Evergreen Git git at git.evergreen-ils.org
Wed Nov 4 11:10:57 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, master has been updated
       via  d26df8817d9416107326227a0a187ff7897288eb (commit)
       via  ef697352585e0f7fff258e4fbec1dec03cf839ce (commit)
      from  b26ee40b0403d1db5f58f8bf19fa7459fd25aef1 (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 d26df8817d9416107326227a0a187ff7897288eb
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Wed Nov 4 16:33:53 2015 +0000

    LP#1504615: add release notes
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

diff --git a/docs/RELEASE_NOTES_NEXT/OPAC/Adjust_copy_sort_order.txt b/docs/RELEASE_NOTES_NEXT/OPAC/Adjust_copy_sort_order.txt
new file mode 100644
index 0000000..beb174a
--- /dev/null
+++ b/docs/RELEASE_NOTES_NEXT/OPAC/Adjust_copy_sort_order.txt
@@ -0,0 +1,11 @@
+Include parts label when sorting copies in the public catalog
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+The list of copies on the record details page now includes
+the part label in the default sort order.
+
+Specifically, copies are now sorted by (in order), org unit, then
+call number, then part label sortkey, then copy number, and
+finally barcode.
+
+Previously, the hierarchy was org unit, then call number,
+then copy number, and finally barcode

commit ef697352585e0f7fff258e4fbec1dec03cf839ce
Author: Dan Pearl <dpearl at cwmars.org>
Date:   Mon Jun 2 10:03:27 2014 -0400

    LP#1504615: include part names when sorting copies for public catalog display
    
    This adds a level of sorting to allow certain parts to be more
    easily found in the list.
    
    The hierarchy will now be:
    Org Unit / Call Number / Part Label Sortkey / Copy Number / Barcode
    
    Previously, the hierarchy was
    Org Unit / Call Number / Copy Number / Barcode
    
    To test:
    
    [1] Create a record with several copies under one volume
        using different monograph parts.  Observe that the
        order of copies in the record details page in the
        public catalog is not sorted by part.
    [2] Apply the patch and view the records details page; this
        time, the copies should be sorted by part.
    
    Signed-off-by: Dan Pearl <dpearl at cwmars.org>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
index 44449f7..90c1463 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
@@ -2051,6 +2051,7 @@ sub basic_opac_copy_query {
         order_by => [
             {class => 'aou', field => 'name'},
             {class => 'acn', field => 'label_sortkey'},
+            {class => 'bmp', field => 'label_sortkey'},
             {class => 'acp', field => 'copy_number'},
             {class => 'acp', field => 'barcode'}
         ],

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

Summary of changes:
 .../perlmods/lib/OpenILS/Application/AppUtils.pm   |    1 +
 .../OPAC/Adjust_copy_sort_order.txt                |   11 +++++++++++
 2 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 docs/RELEASE_NOTES_NEXT/OPAC/Adjust_copy_sort_order.txt


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list