Skip to content

Commit 5bfd481

Browse files
committed
include the select keys
@shivangagarwal
1 parent 57f49d8 commit 5bfd481

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/RestQuery.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ RestQuery.prototype.replaceSelect = function() {
347347
let additionalOptions = {
348348
redirectClassNameForKey: selectValue.query.redirectClassNameForKey,
349349
limit: selectValue.query.limit,
350-
keys: 'objectId',
350+
keys: `objectId,${selectValue.key}`,
351351
};
352352

353353
var subquery = new RestQuery(
@@ -396,7 +396,7 @@ RestQuery.prototype.replaceDontSelect = function() {
396396
}
397397
let additionalOptions = {
398398
redirectClassNameForKey: dontSelectValue.query.redirectClassNameForKey,
399-
keys: 'objectId',
399+
keys: `objectId,${dontSelectValue.key}`,
400400
};
401401

402402
var subquery = new RestQuery(

0 commit comments

Comments
 (0)