LP#1504615: include part names when sorting copies for public catalog display
authorDan Pearl <dpearl@cwmars.org>
Mon, 2 Jun 2014 14:03:27 +0000 (10:03 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 4 Nov 2015 16:28:01 +0000 (16:28 +0000)
commitef697352585e0f7fff258e4fbec1dec03cf839ce
treebc271ae3624e7d6122193011a30ec11145c7b718
parentb26ee40b0403d1db5f58f8bf19fa7459fd25aef1
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@cwmars.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm