]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Ensure call numbers are returned to the holdings editor in ascending sorted order
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 28 Oct 2010 14:55:33 +0000 (14:55 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 28 Oct 2010 14:55:33 +0000 (14:55 +0000)
commit50d8efd175223c708cb6f060a44ac88a3a722a13
tree1fb3b0c4651c30c6538c1d001e8d07e7453b29d5
parent37abdcb3f94014327522b5221226d1106556f1f8
Ensure call numbers are returned to the holdings editor in ascending sorted order

James Fournie in https://bugs.launchpad.net/evergreen/+bug/635121 reported
that call numbers were being displayed in the order that they had been
added to the database, rather than in sorted call number label order.
Although I have been unable to reproduce this problem on two different
test systems, the patch he provided for 1.6.1 (which fixes the problem on their
test system) shouldn't hurt other systems.

For sortkey-aware branches, I modified James' patch to take advantage of the
asset.call_number.label_sortkey column and the oils_text_as_bytea() function.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@18516 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/Application/Cat.pm