forked from 0x2620/pandora
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' ? '+' : '-';
|
||||
pandora.UI.set({listSort: [{key: key, operator: operator}]});
|
||||
} 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') {
|
||||
Ox.Theme(value);
|
||||
pandora.UI.set('theme', value);
|
||||
|
|
Loading…
Reference in a new issue