{"action":"created","issue":{"url":"https://api.github.com/repos/corcel/corcel/issues/204","repository_url":"https://api.github.com/repos/corcel/corcel","labels_url":"https://api.github.com/repos/corcel/corcel/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/corcel/corcel/issues/204/comments","events_url":"https://api.github.com/repos/corcel/corcel/issues/204/events","html_url":"https://github.com/corcel/corcel/issues/204","id":179423173,"number":204,"title":"Acf and advance query","user":{"login":"dimahali","id":13550803,"avatar_url":"https://avatars.githubusercontent.com/u/13550803?v=3","gravatar_id":"","url":"https://api.github.com/users/dimahali","html_url":"https://github.com/dimahali","followers_url":"https://api.github.com/users/dimahali/followers","following_url":"https://api.github.com/users/dimahali/following{/other_user}","gists_url":"https://api.github.com/users/dimahali/gists{/gist_id}","starred_url":"https://api.github.com/users/dimahali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimahali/subscriptions","organizations_url":"https://api.github.com/users/dimahali/orgs","repos_url":"https://api.github.com/users/dimahali/repos","events_url":"https://api.github.com/users/dimahali/events{/privacy}","received_events_url":"https://api.github.com/users/dimahali/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-09-27T08:05:06Z","updated_at":"2016-11-02T06:07:29Z","closed_at":null,"body":"I am trying to implement corcel in laravel 5.2 app\n\nit is working for simple queries... i am using ACF and trying to convert following query into Corcel\n\n`get_posts( [\n                                    'post_type'      => 'news',\n                                    'posts_per_page' => 5,\n                                    'order'          => 'DESC',\n                                    'orderby'        => 'post_date',\n                                    'meta_query'    => array(\n                                            'relation'      => 'AND',\n                                            array(\n                                                'key'       => 'news_show',\n                                                'value'     => '1',\n                                                'compare'   => '=',\n                                            ),\n                                            array(\n                                                'key'       => 'news_landmark',\n                                                'value'     => '1',\n                                                'compare'   => '=',\n                                            ),\n                                        ),\n                                    ]);`\nin corcel something like this\n`App\\News::status('publish')\n                                            ->where('news_landmark', 0)\n                                            ->where('news_show', 1)\n                                            ->take(5)->get();`\n\nbut i am getting column not found error for both columns news_landmark and news_show\n\nanother issue is i am trying to get image which is also showing null\n\nin traditional style i am doing something like this\n`$img = get_field('slider_image', $slider->ID);`\n\nbut when i try $slider->slider_image assuming slider as the variable i am getting null i have tryed meta and fields as well but both do not work\n"},"comment":{"url":"https://api.github.com/repos/corcel/corcel/issues/comments/257780796","html_url":"https://github.com/corcel/corcel/issues/204#issuecomment-257780796","issue_url":"https://api.github.com/repos/corcel/corcel/issues/204","id":257780796,"user":{"login":"dimahali","id":13550803,"avatar_url":"https://avatars.githubusercontent.com/u/13550803?v=3","gravatar_id":"","url":"https://api.github.com/users/dimahali","html_url":"https://github.com/dimahali","followers_url":"https://api.github.com/users/dimahali/followers","following_url":"https://api.github.com/users/dimahali/following{/other_user}","gists_url":"https://api.github.com/users/dimahali/gists{/gist_id}","starred_url":"https://api.github.com/users/dimahali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimahali/subscriptions","organizations_url":"https://api.github.com/users/dimahali/orgs","repos_url":"https://api.github.com/users/dimahali/repos","events_url":"https://api.github.com/users/dimahali/events{/privacy}","received_events_url":"https://api.github.com/users/dimahali/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T06:07:29Z","updated_at":"2016-11-02T06:07:29Z","body":"hey jgrossi sorry for late response... i am a bit busy and not used corcel yet....  saw your upgrade and will look at it as soon as possible... thanks for good work...."}}
{"actor":{"display_login":"dimahali"}}