unapi: Sort volumes in holdings_xml by library, label
authorDan Scott <dscott@laurentian.ca>
Sun, 18 Dec 2011 05:07:22 +0000 (00:07 -0500)
committerDan Scott <dan@coffeecode.net>
Sat, 17 Mar 2012 18:24:38 +0000 (14:24 -0400)
commit46ba101e23ca02188dc99411d037c90e941e1d1e
treea337d2f5ef596eaf0b0a4ad2ee09a1b13259be35
parent024346eeac0df0f2b9b7139024f03adbef449ef2
unapi: Sort volumes in holdings_xml by library, label

In-database unapi currently returns volumes sorted strictly by label,
but a more meaningful order would sort the volumes first by copy library
(in alphabetical order), and then by label within each library. This
commit makes it so.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/sql/Pg/990.schema.unapi.sql