Merge pull request #203 from lchenay/patch-5
Fix bug when using multiple include keys on related method
This commit is contained in:
commit
0adf440cd1
|
@ -255,7 +255,7 @@ function mergeQuery(base, update) {
|
||||||
} else {
|
} else {
|
||||||
var saved = base.include;
|
var saved = base.include;
|
||||||
base.include = {};
|
base.include = {};
|
||||||
base.include[update.include] = [saved];
|
base.include[update.include] = saved;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (update.collect) {
|
if (update.collect) {
|
||||||
|
|
Loading…
Reference in New Issue