From 625030f03e7dae367221784ab18b4a81f2f52e1c Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Sat, 28 Feb 2015 23:43:06 +1100 Subject: [PATCH] Minor --- modules/backend/behaviors/RelationController.php | 3 +++ 1 file changed, 3 insertions(+) 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;