correctly set order when sorting via menu
This commit is contained in:
parent
071873111d
commit
0167e70710
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ pandora.ui.mainMenu = function() {
|
||||||
operator = value == 'ascending' ? '+' : '-';
|
operator = value == 'ascending' ? '+' : '-';
|
||||||
pandora.UI.set({listSort: [{key: key, operator: operator}]});
|
pandora.UI.set({listSort: [{key: key, operator: operator}]});
|
||||||
} else if (data.id == 'listsort') {
|
} else if (data.id == 'listsort') {
|
||||||
pandora.UI.set({listSort: [{key: value, operator: ''}]});
|
pandora.UI.set({listSort: [{key: value, operator: pandora.getSortOperator(value)}]});
|
||||||
} else if (data.id == 'settheme') {
|
} else if (data.id == 'settheme') {
|
||||||
Ox.Theme(value);
|
Ox.Theme(value);
|
||||||
pandora.UI.set('theme', value);
|
pandora.UI.set('theme', value);
|
||||||
|
|
Loading…
Reference in a new issue