xul list secondary sorting
authorJason Etheridge <jason@esilibrary.com>
Thu, 29 Mar 2012 15:11:55 +0000 (11:11 -0400)
committerJason Etheridge <jason@esilibrary.com>
Fri, 30 Mar 2012 17:08:36 +0000 (13:08 -0400)
commitf803c7aade0cc85ee6d710f6b194fda7fa98742a
tree3c19e780d4c677939282a86431724e988e32cba1
parentfcb4f764ecb818b012048dc50a3c667e77d0bbe6
xul list secondary sorting

For xul-based lists in the staff client (interfaces with a grey background),
normal behavior is to sort the list when you left click a column header.

This is still the case, but now if you control+click a column header, it sets
up that column as a secondary sub-sort.  Control+clicking more columns will
set up subsequent sub-sorts.

Normal click a column header for primary sorting will clear out all previously
defined sub-sorts.  Control+clicking when a primary column has not yet been
normal clicked effectively does nothing.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/chrome/content/util/list.js