|
@@ -62,7 +62,7 @@ discard block |
|
|
block discarded – undo |
|
62
|
62
|
$query = $this->foreignMapper->newQuery(); |
|
63
|
63
|
|
|
64
|
64
|
$query = $this->joinWithThroughTable($query) |
|
65
|
|
- ->where($this->options[RelationConfig::THROUGH_NATIVE_COLUMN], $nativePks); |
|
|
65
|
+ ->where($this->options[RelationConfig::THROUGH_NATIVE_COLUMN], $nativePks); |
|
66
|
66
|
|
|
67
|
67
|
$query = $this->applyQueryCallback($query); |
|
68
|
68
|
|
|
@@ -116,7 +116,7 @@ discard block |
|
|
block discarded – undo |
|
116
|
116
|
{ |
|
117
|
117
|
$subselect = $this->foreignMapper->newQuery(); |
|
118
|
118
|
$subselect = $query->subSelectForJoinWith($this->foreignMapper) |
|
119
|
|
- ->as($reference); |
|
|
119
|
+ ->as($reference); |
|
120
|
120
|
#$subselect->resetGuards(); |
|
121
|
121
|
#$subselect->setGuards($this->foreignMapper->getConfig()->getGuards()); |
|
122
|
122
|
|
Please login to merge, or discard this patch.