LP#1731278 Make webstaff grid column sort stable user/kmlussier/lp1731278_preserve_explicit_column_sort_signoff
authorDan Wells <dbw2@calvin.edu>
Thu, 15 Mar 2018 18:52:23 +0000 (14:52 -0400)
committerKathy Lussier <klussier@masslnc.org>
Fri, 15 Jun 2018 15:46:03 +0000 (11:46 -0400)
commitbbbc7a80ca45ec675f74e75be226870ddceab1ae
treec53d61eed37983feb10c20d76f95a257d576836a
parent4cd44bb331ebb0566a63dc290557e993b0318e34
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>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/ui/default/staff/services/grid.js