Fix call-number sorting for non-generic sort keys (LP Bug #737819)
authordbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 28 Mar 2011 22:44:05 +0000 (22:44 +0000)
committerdbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 28 Mar 2011 22:44:05 +0000 (22:44 +0000)
commite8378a27eb9893386250aa336ef6448c19aede57
treec02da5a9d1119a6d6898ff2563c5f825a59ab804
parent308a4a896ded23a5e63a07e0489b9a3553785012
Fix call-number sorting for non-generic sort keys (LP Bug #737819)

Selecting on 'label' but sorting on 'label_sortkey' did not work properly.  Instead, we will now find the single best call number we can based on the label given, then both select and sort based on that call number's sort key.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19879 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm