{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/9168","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/9168/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/9168/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/9168/events","html_url":"https://github.com/yiisoft/yii2/issues/9168","id":96283438,"number":9168,"title":"onCondition added to where part of child query","user":{"login":"master-7","id":7540752,"avatar_url":"https://avatars.githubusercontent.com/u/7540752?v=3","gravatar_id":"","url":"https://api.github.com/users/master-7","html_url":"https://github.com/master-7","followers_url":"https://api.github.com/users/master-7/followers","following_url":"https://api.github.com/users/master-7/following{/other_user}","gists_url":"https://api.github.com/users/master-7/gists{/gist_id}","starred_url":"https://api.github.com/users/master-7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/master-7/subscriptions","organizations_url":"https://api.github.com/users/master-7/orgs","repos_url":"https://api.github.com/users/master-7/repos","events_url":"https://api.github.com/users/master-7/events{/privacy}","received_events_url":"https://api.github.com/users/master-7/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2/labels/status:to%20be%20verified","name":"status:to be verified","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2/milestones/9","html_url":"https://github.com/yiisoft/yii2/milestones/2.0.x","labels_url":"https://api.github.com/repos/yiisoft/yii2/milestones/9/labels","id":831720,"number":9,"title":"2.0.x","description":"","creator":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"open_issues":394,"closed_issues":1,"state":"open","created_at":"2014-10-19T13:49:45Z","updated_at":"2015-07-28T07:32:27Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-07-21T10:32:12Z","updated_at":"2015-07-28T13:46:17Z","closed_at":null,"body":"Problem is here https://github.com/yiisoft/yii2/blob/2.1/framework/db/ActiveQuery.php#L202\r\nWhy do this?\r\n\r\nThis is a detailed description my problem\r\nhttp://stackoverflow.com/questions/30349913/yii2-oncondition-added-to-where-part-of-child-query"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/125615743","html_url":"https://github.com/yiisoft/yii2/issues/9168#issuecomment-125615743","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/9168","id":125615743,"user":{"login":"master-7","id":7540752,"avatar_url":"https://avatars.githubusercontent.com/u/7540752?v=3","gravatar_id":"","url":"https://api.github.com/users/master-7","html_url":"https://github.com/master-7","followers_url":"https://api.github.com/users/master-7/followers","following_url":"https://api.github.com/users/master-7/following{/other_user}","gists_url":"https://api.github.com/users/master-7/gists{/gist_id}","starred_url":"https://api.github.com/users/master-7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/master-7/subscriptions","organizations_url":"https://api.github.com/users/master-7/orgs","repos_url":"https://api.github.com/users/master-7/repos","events_url":"https://api.github.com/users/master-7/events{/privacy}","received_events_url":"https://api.github.com/users/master-7/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T13:46:17Z","updated_at":"2015-07-28T13:46:17Z","body":"How can i make the oncondition which in a different table if this condition the copied to a insert subquery?"}}