load list with the right list sort

This commit is contained in:
j 2014-10-31 14:18:26 +01:00
parent 35cc6abd95
commit ab87ba22d7
1 changed files with 5 additions and 1 deletions

View File

@ -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() {