Restore favorite's sort order along with filters

This commit is contained in:
Nathan Gray 2014-10-01 15:41:50 +00:00
parent 15be410487
commit 0159f41877

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);