load list with the right list sort
This commit is contained in:
parent
35cc6abd95
commit
ab87ba22d7
1 changed files with 5 additions and 1 deletions
|
@ -113,7 +113,11 @@ oml.ui.list = function() {
|
||||||
},
|
},
|
||||||
oml_find: function() {
|
oml_find: function() {
|
||||||
if (ui.listView == oml.UI.getPrevious().listView) {
|
if (ui.listView == oml.UI.getPrevious().listView) {
|
||||||
|
if (ui.listSort == oml.UI.getPrevious().listSort) {
|
||||||
that.reloadList();
|
that.reloadList();
|
||||||
|
} else {
|
||||||
|
that.options({sort: ui.listSort});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
oml_item: function() {
|
oml_item: function() {
|
||||||
|
|
Loading…
Reference in a new issue