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 <dscott@laurentian.ca>
Sun, 18 Dec 2011 05:48:56 +0000 (00:48 -0500)
commitdbfc9d1afe812210eeb107423ff3a0c2e9e3ac8a
tree25b670b914246aa6802f4cf6253f05ec6d4c1e50
parent47d3516f579f3d925dd06272ab807bf034971f49
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