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>
Thu, 15 Mar 2012 04:34:32 +0000 (00:34 -0400)
commitf692390655812eb0fcbe4aa67e20c59018c55ed3
treef9850f08baa17a2973da15eeea81cb47e96d334e
parentc864ee7f9147c36d48ee95ee3b7c8f0f080b9186
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