TPAC: Sort copies from preferred library first collab/dyrcona/unapi_improve_limits_and_tpac_display
authorDan Scott <dan@coffeecode.net>
Wed, 21 Mar 2012 04:14:56 +0000 (00:14 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Thu, 22 Mar 2012 17:18:55 +0000 (13:18 -0400)
commit3f958a91585eedf4c307b140a102827816f9f455
tree5ae4be2c7b77e1dadaf9bd01d7a5175338aa34a4
parentc3bc5d29caf56954924156d0859808a8575dccdf
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>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
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