yiisoft/yii — pull request #1354 by cebe (2012-09-07 15:10:33+00:00)
Title: need to move beforeFindInternal() after adding scopes

fix #1102 was not 100% correct as it was not possible to apply
additional scopes in relation definition and query criteria.