From 72e6823c3b929b00e3a566e4fb5ada33f2c19284 Mon Sep 17 00:00:00 2001 From: rlx Date: Tue, 19 Jan 2016 09:52:03 +0530 Subject: [PATCH] fix sort bug --- static/js/list.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/static/js/list.js b/static/js/list.js index cf36558..ebfe9ae 100644 --- a/static/js/list.js +++ b/static/js/list.js @@ -157,9 +157,7 @@ oml.ui.list = function() { that.options({selected: data.value}); }, oml_listsort: function(data) { - if (ui._list == oml.UI.getPrevious()._list) { - that.options({sort: data.value}); - } + that.options({sort: data.value}); }, oml_sidebarsize: function(data) { that.size();