LP1965161: Sort Monograph Parts in Holds Metadata user/dyrcona/lp1965161-sort-parts
authorJason Stephenson <jason@sigio.com>
Wed, 16 Mar 2022 17:29:09 +0000 (13:29 -0400)
committerJason Stephenson <jason@sigio.com>
Wed, 16 Mar 2022 17:29:09 +0000 (13:29 -0400)
commit23104aeabb50074ee21b8be3a69f363f79c89362
treeb9424b62a98099526f323bd4673ad9a66a79dfad
parentdad5e6f01f18f4eb7dff0b088eb9b6cb5922c655
LP1965161: Sort Monograph Parts in Holds Metadata

When placing a hold in the Angular Staff Catalog, parts are not sorted
in the proper order.  This patch corrects the sort order.

To verify the bug:

 1. Find a record with parts in your catalog.
 2. Place a hold on a specific part using the Angular Staff Catalog.
 3. Notice that the entries int he parts drop down are likely not
    sorted in the correct order. (If they are you lucked out and
    should try again with a different record.)

To verify the fix after applying the patch and re-installing
Evergreen, repeat the above steps.  The parts should display in the
proper sort order by label.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm