make list sort sticky
This commit is contained in:
parent
fa20924d2e
commit
285dbde77c
1 changed files with 1 additions and 3 deletions
|
@ -24,9 +24,7 @@ pandora.ui.sortSelect = function() {
|
|||
pandora.$ui.list.options({
|
||||
sort: [{key: key, operator: operator}]
|
||||
});
|
||||
// fixme: why does this not work??
|
||||
// pandora.UI.set(['lists', pandora.user.ui.list, 'sort'].join('|'), [{key: key, operator: operator}]);
|
||||
pandora.user.ui.lists[pandora.user.ui.list].sort[0] = {key: key, operator: operator};
|
||||
pandora.UI.set('lists|' + pandora.user.ui.list + '|sort', [{key: key, operator: operator}]);
|
||||
pandora.URL.push(pandora.Query.toString());
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue