LP#1731278 Make webstaff grid column sort stable user/dbwells/lp1731278_preserve_explicit_column_sort
authorDan Wells <dbw2@calvin.edu>
Thu, 15 Mar 2018 18:52:23 +0000 (14:52 -0400)
committerDan Wells <dbw2@calvin.edu>
Thu, 15 Mar 2018 18:57:03 +0000 (14:57 -0400)
commit70f4460778ebef349c2d30441c27dda73f85643c
treecaf008ecfefa22fa0fe4998ad39b22270f297191
parentadf98e50e05f4f923d03e276b6608c56eff17708
LP#1731278 Make webstaff grid column sort stable

As Remington Steed deduced, lack of stable sort in Chrome causes our
webstaff grid "explicit" columns to move around in the process of
sorting the other columns.

As a simplistic fix, let's first record the original order, then keep
any explicit columns in their original order.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/web/js/ui/default/staff/services/grid.js