In Ox.List, pass map option to Ox.api
This commit is contained in:
parent
a3ddc7c2d4
commit
e50d4c22db
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,7 @@ Ox.List = function(options, self) {
|
||||||
// FIXME: duplicated
|
// FIXME: duplicated
|
||||||
self.options.items = Ox.api(self.options.items, {
|
self.options.items = Ox.api(self.options.items, {
|
||||||
cache: true,
|
cache: true,
|
||||||
|
map: self.options.map,
|
||||||
sort: self.options.sort,
|
sort: self.options.sort,
|
||||||
sums: self.options.sums,
|
sums: self.options.sums,
|
||||||
unique: self.options.unique
|
unique: self.options.unique
|
||||||
|
@ -129,6 +130,7 @@ Ox.List = function(options, self) {
|
||||||
if (Ox.isArray(self.options.items) && !self.options._tree) {
|
if (Ox.isArray(self.options.items) && !self.options._tree) {
|
||||||
self.options.items = Ox.api(self.options.items, {
|
self.options.items = Ox.api(self.options.items, {
|
||||||
cache: true,
|
cache: true,
|
||||||
|
map: self.options.map,
|
||||||
sort: self.options.sort,
|
sort: self.options.sort,
|
||||||
sums: self.options.sums,
|
sums: self.options.sums,
|
||||||
unique: self.options.unique
|
unique: self.options.unique
|
||||||
|
|
Loading…
Reference in a new issue