{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_177/pulls/comments/79340055","id":79340055,"diff_hunk":"@@ -27,4 +27,19 @@ public function index()\n         $categories = Category::paginate($numberRecord);\n         return view('user.category', compact('categories'));\n     }\n+\n+    /**\n+     * Store a newly created resource in storage.\n+     *\n+     * @param Request $request\n+     *\n+     * @return \\Illuminate\\Http\\RedirectResponse\n+     */\n+    public function store(Request $request)\n+    {\n+        $numberRecord = config('common.category.pagination.default_number_record_category');\n+        $search = $request->search;\n+        $categories = Category::where('name', 'LIKE', '%' . $search . '%')->orWhere('introduction', 'LIKE', '%' . $search . '%')->paginate($numberRecord);","path":"app/Http/Controllers/User/CategoryController.php","position":16,"original_position":16,"commit_id":"aef20124fda01caf2b881e9e1e7a53901771c5b2","original_commit_id":"aef20124fda01caf2b881e9e1e7a53901771c5b2","user":{"login":"euclid1990","id":5584709,"avatar_url":"https://avatars.githubusercontent.com/u/5584709?v=3","gravatar_id":"","url":"https://api.github.com/users/euclid1990","html_url":"https://github.com/euclid1990","followers_url":"https://api.github.com/users/euclid1990/followers","following_url":"https://api.github.com/users/euclid1990/following{/other_user}","gists_url":"https://api.github.com/users/euclid1990/gists{/gist_id}","starred_url":"https://api.github.com/users/euclid1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/euclid1990/subscriptions","organizations_url":"https://api.github.com/users/euclid1990/orgs","repos_url":"https://api.github.com/users/euclid1990/repos","events_url":"https://api.github.com/users/euclid1990/events{/privacy}","received_events_url":"https://api.github.com/users/euclid1990/received_events","type":"User","site_admin":false},"body":"thử search số 0 xem có ra toàn bộ kết quả ko ?","created_at":"2016-09-19T07:52:03Z","updated_at":"2016-09-19T07:52:03Z","html_url":"https://github.com/framgia/fels_177/pull/20#discussion_r79340055","pull_request_url":"https://api.github.com/repos/framgia/fels_177/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_177/pulls/comments/79340055"},"html":{"href":"https://github.com/framgia/fels_177/pull/20#discussion_r79340055"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_177/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_177/pulls/20","id":85545542,"html_url":"https://github.com/framgia/fels_177/pull/20","diff_url":"https://github.com/framgia/fels_177/pull/20.diff","patch_url":"https://github.com/framgia/fels_177/pull/20.patch","issue_url":"https://api.github.com/repos/framgia/fels_177/issues/20","number":20,"state":"open","locked":false,"title":"Fix feature lesson and result of User","user":{"login":"hoquochai","id":13618718,"avatar_url":"https://avatars.githubusercontent.com/u/13618718?v=3","gravatar_id":"","url":"https://api.github.com/users/hoquochai","html_url":"https://github.com/hoquochai","followers_url":"https://api.github.com/users/hoquochai/followers","following_url":"https://api.github.com/users/hoquochai/following{/other_user}","gists_url":"https://api.github.com/users/hoquochai/gists{/gist_id}","starred_url":"https://api.github.com/users/hoquochai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoquochai/subscriptions","organizations_url":"https://api.github.com/users/hoquochai/orgs","repos_url":"https://api.github.com/users/hoquochai/repos","events_url":"https://api.github.com/users/hoquochai/events{/privacy}","received_events_url":"https://api.github.com/users/hoquochai/received_events","type":"User","site_admin":false},"body":"Fixbug:\r\n - Feature User[lesson]\r\n - Feature User[result]","created_at":"2016-09-16T09:49:30Z","updated_at":"2016-09-19T07:52:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f9b76109c4ce0f9a2c20ae763534cc4587b6d0b7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_177/pulls/20/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_177/pulls/20/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_177/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_177/issues/20/comments","statuses_url":"https://api.github.com/repos/framgia/fels_177/statuses/aef20124fda01caf2b881e9e1e7a53901771c5b2","head":{"label":"hoquochai:Fixbug","ref":"Fixbug","sha":"aef20124fda01caf2b881e9e1e7a53901771c5b2","user":{"login":"hoquochai","id":13618718,"avatar_url":"https://avatars.githubusercontent.com/u/13618718?v=3","gravatar_id":"","url":"https://api.github.com/users/hoquochai","html_url":"https://github.com/hoquochai","followers_url":"https://api.github.com/users/hoquochai/followers","following_url":"https://api.github.com/users/hoquochai/following{/other_user}","gists_url":"https://api.github.com/users/hoquochai/gists{/gist_id}","starred_url":"https://api.github.com/users/hoquochai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoquochai/subscriptions","organizations_url":"https://api.github.com/users/hoquochai/orgs","repos_url":"https://api.github.com/users/hoquochai/repos","events_url":"https://api.github.com/users/hoquochai/events{/privacy}","received_events_url":"https://api.github.com/users/hoquochai/received_events","type":"User","site_admin":false},"repo":{"id":66550503,"name":"fels_177","full_name":"hoquochai/fels_177","owner":{"login":"hoquochai","id":13618718,"avatar_url":"https://avatars.githubusercontent.com/u/13618718?v=3","gravatar_id":"","url":"https://api.github.com/users/hoquochai","html_url":"https://github.com/hoquochai","followers_url":"https://api.github.com/users/hoquochai/followers","following_url":"https://api.github.com/users/hoquochai/following{/other_user}","gists_url":"https://api.github.com/users/hoquochai/gists{/gist_id}","starred_url":"https://api.github.com/users/hoquochai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoquochai/subscriptions","organizations_url":"https://api.github.com/users/hoquochai/orgs","repos_url":"https://api.github.com/users/hoquochai/repos","events_url":"https://api.github.com/users/hoquochai/events{/privacy}","received_events_url":"https://api.github.com/users/hoquochai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hoquochai/fels_177","description":"Framgia E-Learning System (training)","fork":true,"url":"https://api.github.com/repos/hoquochai/fels_177","forks_url":"https://api.github.com/repos/hoquochai/fels_177/forks","keys_url":"https://api.github.com/repos/hoquochai/fels_177/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hoquochai/fels_177/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hoquochai/fels_177/teams","hooks_url":"https://api.github.com/repos/hoquochai/fels_177/hooks","issue_events_url":"https://api.github.com/repos/hoquochai/fels_177/issues/events{/number}","events_url":"https://api.github.com/repos/hoquochai/fels_177/events","assignees_url":"https://api.github.com/repos/hoquochai/fels_177/assignees{/user}","branches_url":"https://api.github.com/repos/hoquochai/fels_177/branches{/branch}","tags_url":"https://api.github.com/repos/hoquochai/fels_177/tags","blobs_url":"https://api.github.com/repos/hoquochai/fels_177/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hoquochai/fels_177/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hoquochai/fels_177/git/refs{/sha}","trees_url":"https://api.github.com/repos/hoquochai/fels_177/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hoquochai/fels_177/statuses/{sha}","languages_url":"https://api.github.com/repos/hoquochai/fels_177/languages","stargazers_url":"https://api.github.com/repos/hoquochai/fels_177/stargazers","contributors_url":"https://api.github.com/repos/hoquochai/fels_177/contributors","subscribers_url":"https://api.github.com/repos/hoquochai/fels_177/subscribers","subscription_url":"https://api.github.com/repos/hoquochai/fels_177/subscription","commits_url":"https://api.github.com/repos/hoquochai/fels_177/commits{/sha}","git_commits_url":"https://api.github.com/repos/hoquochai/fels_177/git/commits{/sha}","comments_url":"https://api.github.com/repos/hoquochai/fels_177/comments{/number}","issue_comment_url":"https://api.github.com/repos/hoquochai/fels_177/issues/comments{/number}","contents_url":"https://api.github.com/repos/hoquochai/fels_177/contents/{+path}","compare_url":"https://api.github.com/repos/hoquochai/fels_177/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hoquochai/fels_177/merges","archive_url":"https://api.github.com/repos/hoquochai/fels_177/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hoquochai/fels_177/downloads","issues_url":"https://api.github.com/repos/hoquochai/fels_177/issues{/number}","pulls_url":"https://api.github.com/repos/hoquochai/fels_177/pulls{/number}","milestones_url":"https://api.github.com/repos/hoquochai/fels_177/milestones{/number}","notifications_url":"https://api.github.com/repos/hoquochai/fels_177/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hoquochai/fels_177/labels{/name}","releases_url":"https://api.github.com/repos/hoquochai/fels_177/releases{/id}","deployments_url":"https://api.github.com/repos/hoquochai/fels_177/deployments","created_at":"2016-08-25T10:59:40Z","updated_at":"2016-08-23T03:48:25Z","pushed_at":"2016-09-19T07:48:59Z","git_url":"git://github.com/hoquochai/fels_177.git","ssh_url":"git@github.com:hoquochai/fels_177.git","clone_url":"https://github.com/hoquochai/fels_177.git","svn_url":"https://github.com/hoquochai/fels_177","homepage":null,"size":5556,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"framgia:develop","ref":"develop","sha":"6af7e7f086cbca9e89d21e80890bfa029d74be46","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":66331165,"name":"fels_177","full_name":"framgia/fels_177","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/fels_177","description":"Framgia E-Learning System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_177","forks_url":"https://api.github.com/repos/framgia/fels_177/forks","keys_url":"https://api.github.com/repos/framgia/fels_177/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_177/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_177/teams","hooks_url":"https://api.github.com/repos/framgia/fels_177/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_177/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_177/events","assignees_url":"https://api.github.com/repos/framgia/fels_177/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_177/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_177/tags","blobs_url":"https://api.github.com/repos/framgia/fels_177/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_177/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_177/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_177/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_177/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_177/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_177/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_177/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_177/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_177/subscription","commits_url":"https://api.github.com/repos/framgia/fels_177/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_177/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_177/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_177/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_177/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_177/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_177/merges","archive_url":"https://api.github.com/repos/framgia/fels_177/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_177/downloads","issues_url":"https://api.github.com/repos/framgia/fels_177/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_177/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_177/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_177/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_177/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_177/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_177/deployments","created_at":"2016-08-23T03:48:25Z","updated_at":"2016-08-26T03:49:49Z","pushed_at":"2016-09-19T07:48:59Z","git_url":"git://github.com/framgia/fels_177.git","ssh_url":"git@github.com:framgia/fels_177.git","clone_url":"https://github.com/framgia/fels_177.git","svn_url":"https://github.com/framgia/fels_177","homepage":null,"size":320,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_177/pulls/20"},"html":{"href":"https://github.com/framgia/fels_177/pull/20"},"issue":{"href":"https://api.github.com/repos/framgia/fels_177/issues/20"},"comments":{"href":"https://api.github.com/repos/framgia/fels_177/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_177/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_177/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_177/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_177/statuses/aef20124fda01caf2b881e9e1e7a53901771c5b2"}}}}
{"actor":{"display_login":"euclid1990"}}