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>
Sun, 11 Mar 2012 01:06:33 +0000 (20:06 -0500)
commit2a0b592c771d5086773c2a7c803c1894e55a6091
tree164fc3fc322128090eceee0057e489c086391025
parentf03f92e37c4a341829421f91bfc334e1e177c188
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