more functionality for ListCalendar
This commit is contained in:
parent
96d03fc386
commit
d2972cd526
5 changed files with 61 additions and 53 deletions
|
|
@ -1345,7 +1345,7 @@ Ox.List = function(options, self) {
|
|||
if (!self.isAsync) {
|
||||
selectedIds = getSelectedIds();
|
||||
self.options.items.forEach(function(item) {
|
||||
sort[item.id] = map ? map(item[key]) : item[key];
|
||||
sort[item.id] = map ? map(item[key], item) : item[key];
|
||||
});
|
||||
self.options.items.sort(function(a, b) {
|
||||
var aValue = sort[a.id],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue