yiisoft/yii2 — pull request #2981 by cebe (2014-04-04 13:35:22+00:00)
Title: removed duplicated joins when using joinWith and via relations

fixes #2650