In Ox.List, pass map option to Ox.api

This commit is contained in:
rolux 2012-09-03 22:27:09 +02:00
parent a3ddc7c2d4
commit e50d4c22db

View file

@ -94,6 +94,7 @@ Ox.List = function(options, self) {
// FIXME: duplicated
self.options.items = Ox.api(self.options.items, {
cache: true,
map: self.options.map,
sort: self.options.sort,
sums: self.options.sums,
unique: self.options.unique
@ -129,6 +130,7 @@ Ox.List = function(options, self) {
if (Ox.isArray(self.options.items) && !self.options._tree) {
self.options.items = Ox.api(self.options.items, {
cache: true,
map: self.options.map,
sort: self.options.sort,
sums: self.options.sums,
unique: self.options.unique