Mottie/tablesorter — Issue #25: sortSave - initial sort / saved sort
Author: thezoggy
Created: 2012-02-01 08:14:19+00:00
State: open

looks like if you set sortList = whatever.. this is used if no savedSort exists (cookie/local storage). which works great.. however if you have an inital sort and use sortSave.. you see that per the debug it is set to one sorting..then set to another.

Built headers:,5ms
jQuery(th.nowrap, th.header, th.header, th.header, th.header, th.header, th.header)
Checking if value was empty on row:0
Checking if value was empty on row:0
Checking if value was empty on row:0
column:0 parser:isoDate column:1 parser:loadingNames column:2 parser:text column:3 parser:quality column:4 parser:eps column:5 parser:text column:6 parser:text
Building cache for 74 rows:,24ms
Sorting on 5,1,1,0 and dir 0 time:,6ms
Rebuilt table:,32ms
Applying Zebra widget,61ms
saveSort: Last sort for "tablesorter0showListTable" obtained from local storage,0ms
Sorting on 3,1,6,0,2,1,0,1 and dir 1 time:,5ms
Rebuilt table:,30ms
Applying Zebra widget,79ms
saveSort: Saving sort to "tablesorter0showListTable" in local storage,3ms

I would think that it should only do the initial sort if no saved is found.. as the zebra stripes happens twice..
also, is 'tablesorter0showListTable' suppose to look like that?