Fix parent model comparison when eager loading

This commit is contained in:
Cédric Krier committed 2015-07-17 21:44:07 +02:00
1 parent feb39cc54c
commit 0ce7edc54d
1 file changed
+1 -1
+1 -1
View File
@@ -549,7 +549,7 @@
}.bind(this);
var group, filter;
if (this.group.parent &&
(this.group.parent.model.name && this.model.name)) {
(this.group.parent.model.name == this.model.name)) {
group = [];
group = group.concat.apply(
group, this.group.parent.group.children);