Fix sorting when printing from FlattenerGrid-based interfaces
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 13 Aug 2012 15:47:48 +0000 (11:47 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 24 Aug 2012 18:19:12 +0000 (14:19 -0400)
commitc02ff7a618740b70ef52c55e37d177f96ef19954
tree047b7a1f3b18f3dc6d070c2d6e8286a0f6f770e8
parent8e34e5684cd2cba66e329126229a08e4dd47cfb6
Fix sorting when printing from FlattenerGrid-based interfaces

This particularly affects the Simplified Hold Pull List.  The printed
verison of your data is supposed to reflect the same sort order that has
been selected in the visual interface, and now it does.

Buggy handling of the different avenues of sorting the grid (clicking column
headers, using the column-picker/multicolumn-sort dialog, default sort order)
had broken the flow of the data needed to build the right sort clause for
some situations.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/js/dojo/openils/FlattenerStore.js