From 0167e7071097b06f2cb6bbc92c6d06987c88ce1c Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 11 Feb 2013 12:38:05 +0530 Subject: [PATCH] correctly set order when sorting via menu --- static/js/pandora/mainMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/mainMenu.js b/static/js/pandora/mainMenu.js index 9d419b30e..6b5ee838d 100644 --- a/static/js/pandora/mainMenu.js +++ b/static/js/pandora/mainMenu.js @@ -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);