Commit b1c11ef
committed
Fixes
Filtering for relations configured this way (associative conditions) was NOT working:
```php
var $hasOne = array('Located' => array('conditions' => array(
'Located.model' => $Model->name,
)));
```
Filtering for relations configured this way was working:
```php
var $hasOne = array('Located' => array('conditions' => array(
"Located.model = {$Model->name}",
)));
```join with related models which have "associative" conditions.1 parent 2558c80 commit b1c11ef
1 file changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
| 175 | + | |
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| |||
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
278 | 290 | | |
0 commit comments