{"action":"opened","issue":{"url":"https://api.github.com/repos/mootensai/yii2-enhanced-gii/issues/10","labels_url":"https://api.github.com/repos/mootensai/yii2-enhanced-gii/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/mootensai/yii2-enhanced-gii/issues/10/comments","events_url":"https://api.github.com/repos/mootensai/yii2-enhanced-gii/issues/10/events","html_url":"https://github.com/mootensai/yii2-enhanced-gii/issues/10","id":97665631,"number":10,"title":"I am lost with queries and search","user":{"login":"arjenmeijer","id":1914560,"avatar_url":"https://avatars.githubusercontent.com/u/1914560?v=3","gravatar_id":"","url":"https://api.github.com/users/arjenmeijer","html_url":"https://github.com/arjenmeijer","followers_url":"https://api.github.com/users/arjenmeijer/followers","following_url":"https://api.github.com/users/arjenmeijer/following{/other_user}","gists_url":"https://api.github.com/users/arjenmeijer/gists{/gist_id}","starred_url":"https://api.github.com/users/arjenmeijer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjenmeijer/subscriptions","organizations_url":"https://api.github.com/users/arjenmeijer/orgs","repos_url":"https://api.github.com/users/arjenmeijer/repos","events_url":"https://api.github.com/users/arjenmeijer/events{/privacy}","received_events_url":"https://api.github.com/users/arjenmeijer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-28T10:04:57Z","updated_at":"2015-07-28T10:04:57Z","closed_at":null,"body":"It is getting better and better. Thank you!\r\n\r\nHowever, I do not understand the query and search options. That is, the query option generates an include like:\r\nuse app\\models\\Name;\r\nuse NameQuery;\r\nHence, the query class is not found, as it should be in app\\models\r\n\r\nMoreover, if I change it manually, I run into troubles with query and search classes.\r\nDefault search is used, but you use query. Why the name change?\r\n\r\nif I generate an active record query class I get the error:\r\nMissing argument 1 for yii\\db\\ActiveQuery::__construct(), called in /var/www/html/pro.3de5.nl/controllers/NameController.php on line 35 and defined\r\n\r\n"}}