unapi: Sort volumes in holdings_xml by library, label user/dbs/tpac_sort_vols_in_holdings_xml
authorDan Scott <dan@coffeecode.net>
Mon, 12 Dec 2011 02:35:47 +0000 (21:35 -0500)
committerDan Scott <dscott@laurentian.ca>
Mon, 12 Dec 2011 02:36:37 +0000 (21:36 -0500)
commitbccad2bb7ab6207752b7967094624916e54b793e
treedee8f9ff85c045b6a8628f682a1852d76d4a9e79
parentb5315a444a87b9807aa15bf355699a4640fba63f
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 library (in
alphabetical order), and then by label within each library. This commit
makes it so.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Open-ILS/src/sql/Pg/990.schema.unapi.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.unapi_holdings_xml_sort_vols_by_library.sql [new file with mode: 0644]