dont add keys to request if no keys are requested, fixed #1567
This commit is contained in:
parent
d1683bd0ce
commit
1834b6efe1
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ pandora.ui.list = function() {
|
||||||
//Ox.Log('', 'data, pandora.Query.toObject', data, pandora.Query.toObject())
|
//Ox.Log('', 'data, pandora.Query.toObject', data, pandora.Query.toObject())
|
||||||
pandora.api.find(Ox.extend(data, {
|
pandora.api.find(Ox.extend(data, {
|
||||||
query: pandora.user.ui.find,
|
query: pandora.user.ui.find,
|
||||||
keys: ['modified'].concat(data.keys)
|
keys: data.keys ? ['modified'].concat(data.keys) : void 0
|
||||||
}), callback);
|
}), callback);
|
||||||
return Ox.clone(data, true);
|
return Ox.clone(data, true);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue