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@linnbenton.edu>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
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'}