Fix sorting when printing from FlattenerGrid-based interfaces user/senator/flattener-grid-fix-print-sort
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 13 Aug 2012 15:47:48 +0000 (11:47 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 13 Aug 2012 15:47:48 +0000 (11:47 -0400)
commit1f9c71cdeb83bbf55d102a8fbf6f30e5d1d6df18
tree766dfe94a17d43c768f5f5697fb8cacef3caae1a
parentd34ceebde716799df47e3dd10313ca45cd5c08ad
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>
Open-ILS/web/js/dojo/openils/FlattenerStore.js