{"action":"created","issue":{"url":"https://api.github.com/repos/Codestar/codestar-framework/issues/603","repository_url":"https://api.github.com/repos/Codestar/codestar-framework","labels_url":"https://api.github.com/repos/Codestar/codestar-framework/issues/603/labels{/name}","comments_url":"https://api.github.com/repos/Codestar/codestar-framework/issues/603/comments","events_url":"https://api.github.com/repos/Codestar/codestar-framework/issues/603/events","html_url":"https://github.com/Codestar/codestar-framework/issues/603","id":358394310,"node_id":"MDU6SXNzdWUzNTgzOTQzMTA=","number":603,"title":"Select2 posts with ajax","user":{"login":"bilalmalkoc","id":23140025,"node_id":"MDQ6VXNlcjIzMTQwMDI1","avatar_url":"https://avatars3.githubusercontent.com/u/23140025?v=4","gravatar_id":"","url":"https://api.github.com/users/bilalmalkoc","html_url":"https://github.com/bilalmalkoc","followers_url":"https://api.github.com/users/bilalmalkoc/followers","following_url":"https://api.github.com/users/bilalmalkoc/following{/other_user}","gists_url":"https://api.github.com/users/bilalmalkoc/gists{/gist_id}","starred_url":"https://api.github.com/users/bilalmalkoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilalmalkoc/subscriptions","organizations_url":"https://api.github.com/users/bilalmalkoc/orgs","repos_url":"https://api.github.com/users/bilalmalkoc/repos","events_url":"https://api.github.com/users/bilalmalkoc/events{/privacy}","received_events_url":"https://api.github.com/users/bilalmalkoc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-09T17:10:45Z","updated_at":"2018-10-13T21:45:25Z","closed_at":null,"author_association":"NONE","body":"Is it possible to using ajax for select2 posts? Because i am using this following code 10 times. So page loads too slow. Select2 dropdown has 1000+ post and it loads 1000+ posts 10 times.\r\n\r\n> <?php \r\narray(\r\n\t'id'         => 'slider3Posts',\r\n\t'type'       => 'select',\r\n\t'title'      => 'Choose Posts',\r\n\t'options'    => 'posts',\r\n\t'class'      => 'chosen',\r\n\t'attributes' => array(\r\n\t\t'data-placeholder' => 'Please choose your own posts...',\r\n\t\t'multiple'         => 'multiple',\r\n\t),\r\n\t'query_args' => array(\r\n\t\t'sort_order'     => 'ASC',\r\n\t\t'sort_column'    => 'post_title',\r\n\t\t'posts_per_page' => -1,\r\n\t),\r\n),\r\n?>"},"comment":{"url":"https://api.github.com/repos/Codestar/codestar-framework/issues/comments/429577789","html_url":"https://github.com/Codestar/codestar-framework/issues/603#issuecomment-429577789","issue_url":"https://api.github.com/repos/Codestar/codestar-framework/issues/603","id":429577789,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTU3Nzc4OQ==","user":{"login":"bilalmalkoc","id":23140025,"node_id":"MDQ6VXNlcjIzMTQwMDI1","avatar_url":"https://avatars3.githubusercontent.com/u/23140025?v=4","gravatar_id":"","url":"https://api.github.com/users/bilalmalkoc","html_url":"https://github.com/bilalmalkoc","followers_url":"https://api.github.com/users/bilalmalkoc/followers","following_url":"https://api.github.com/users/bilalmalkoc/following{/other_user}","gists_url":"https://api.github.com/users/bilalmalkoc/gists{/gist_id}","starred_url":"https://api.github.com/users/bilalmalkoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilalmalkoc/subscriptions","organizations_url":"https://api.github.com/users/bilalmalkoc/orgs","repos_url":"https://api.github.com/users/bilalmalkoc/repos","events_url":"https://api.github.com/users/bilalmalkoc/events{/privacy}","received_events_url":"https://api.github.com/users/bilalmalkoc/received_events","type":"User","site_admin":false},"created_at":"2018-10-13T21:45:25Z","updated_at":"2018-10-13T21:45:25Z","author_association":"NONE","body":"@codevz i am using your solution. Thank you. I think @codestar never update anymore. "}}
{"actor":{"display_login":"bilalmalkoc"}}