TPAC: Sort copies from preferred library first
authorDan Scott <dan@coffeecode.net>
Wed, 21 Mar 2012 04:14:56 +0000 (00:14 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 22 Mar 2012 21:18:41 +0000 (17:18 -0400)
commit0c4f27023dab2fdd8f88eb79c5ec6347e3acbdaf
treecd52930147fa6be1f4201aca5179b1ed799bb329
parent30f34506b6ca7e5c3c3fa099d2be78fe51366777
TPAC: Sort copies from preferred library first

This commit makes copies from the preferred library (if any) sort first
in the displayed copy list in search results and record details, even
if the search scope would otherwise not include the preferred library's
copies at all.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
Open-ILS/src/sql/Pg/020.schema.functions.sql
Open-ILS/src/sql/Pg/990.schema.unapi.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.unapi_limit_rank.sql