Restore favorite's sort order along with filters

This commit is contained in:
Nathan Gray 2014-09-26 19:15:50 +00:00
parent a6d60cdfba
commit 70689708a3

View File

@ -285,6 +285,10 @@ var AppJS = Class.extend(
if(state.state && state.state.search) state.state.search = unescape(state.state.search);
// Apply
if(state.state.sort && state.state.sort.id)
{
_widget.sortBy(state.state.sort.id, state.state.sort.asc,false);
}
_widget.applyFilters(state.state || state.filter || {});
nextmatched = true;
}, this, et2_nextmatch);