| @@ 726-733 (lines=8) @@ | ||
| 723 | } |
|
| 724 | } |
|
| 725 | ||
| 726 | if ($addFilters) { |
|
| 727 | list($joinTargetEntitySQL, $filterSql) = $this->getFilterSql($association); |
|
| 728 | ||
| 729 | if ($filterSql) { |
|
| 730 | $quotedJoinTable .= ' ' . $joinTargetEntitySQL; |
|
| 731 | $whereClauses[] = $filterSql; |
|
| 732 | } |
|
| 733 | } |
|
| 734 | ||
| 735 | return [$quotedJoinTable, $whereClauses, $params, $types]; |
|
| 736 | } |
|
| @@ 803-812 (lines=10) @@ | ||
| 800 | $types[] = $joinColumn->getType(); |
|
| 801 | } |
|
| 802 | ||
| 803 | if ($addFilters) { |
|
| 804 | $quotedJoinTable .= ' t'; |
|
| 805 | ||
| 806 | list($joinTargetEntitySQL, $filterSql) = $this->getFilterSql($association); |
|
| 807 | ||
| 808 | if ($filterSql) { |
|
| 809 | $quotedJoinTable .= ' ' . $joinTargetEntitySQL; |
|
| 810 | $whereClauses[] = $filterSql; |
|
| 811 | } |
|
| 812 | } |
|
| 813 | ||
| 814 | return [$quotedJoinTable, $whereClauses, $params, $types]; |
|
| 815 | } |
|