xul list secondary sorting
authorJason Etheridge <jason@esilibrary.com>
Thu, 29 Mar 2012 15:11:55 +0000 (11:11 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Mon, 2 Apr 2012 16:26:17 +0000 (12:26 -0400)
commit01227dfaadd146ef6cf42d472b7dc595d66a3b7e
treeec59e341511eeb8f153282ccab918776d2407379
parent998f816161a844049dca43451a5074d9c5d891ef
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>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/xul/staff_client/chrome/content/util/list.js