diff --git a/modules/backend/behaviors/RelationController.php b/modules/backend/behaviors/RelationController.php index 85153fe4a..3af39e8a8 100644 --- a/modules/backend/behaviors/RelationController.php +++ b/modules/backend/behaviors/RelationController.php @@ -970,6 +970,9 @@ class RelationController extends ControllerBehavior $this->relationObject->addConstraints(); } + /* + * Allows pivot data to enter the fray + */ if ($this->relationType == 'belongsToMany') { $this->relationObject->setQuery($query->getQuery()); return $this->relationObject;