From ab87ba22d71716c2869c486ba12f2cfa21c71081 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 31 Oct 2014 14:18:26 +0100 Subject: [PATCH] load list with the right list sort --- static/js/list.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/js/list.js b/static/js/list.js index ed20ac1..2f5a805 100644 --- a/static/js/list.js +++ b/static/js/list.js @@ -113,7 +113,11 @@ oml.ui.list = function() { }, oml_find: function() { if (ui.listView == oml.UI.getPrevious().listView) { - that.reloadList(); + if (ui.listSort == oml.UI.getPrevious().listSort) { + that.reloadList(); + } else { + that.options({sort: ui.listSort}); + } } }, oml_item: function() {