codemix/YiiElasticSearch — pull request #21 by burci (2013-10-17 14:21:11+00:00)
Title: Fixing active record relation handling after populationg from search result

```CActiveRecord::getRelated()``` returns current relation data only if model is not new. https://github.com/yiisoft/yii/blob/master/framework/db/ar/CActiveRecord.php#L262