{"action":"opened","number":40,"pull_request":{"url":"https://api.github.com/repos/bigapple2018/EC/pulls/40","id":183403992,"html_url":"https://github.com/bigapple2018/EC/pull/40","diff_url":"https://github.com/bigapple2018/EC/pull/40.diff","patch_url":"https://github.com/bigapple2018/EC/pull/40.patch","issue_url":"https://api.github.com/repos/bigapple2018/EC/issues/40","number":40,"state":"open","locked":false,"title":"商品一覧画面　ジャンル検索","user":{"login":"funo0913","id":35060577,"avatar_url":"https://avatars3.githubusercontent.com/u/35060577?v=4","gravatar_id":"","url":"https://api.github.com/users/funo0913","html_url":"https://github.com/funo0913","followers_url":"https://api.github.com/users/funo0913/followers","following_url":"https://api.github.com/users/funo0913/following{/other_user}","gists_url":"https://api.github.com/users/funo0913/gists{/gist_id}","starred_url":"https://api.github.com/users/funo0913/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funo0913/subscriptions","organizations_url":"https://api.github.com/users/funo0913/orgs","repos_url":"https://api.github.com/users/funo0913/repos","events_url":"https://api.github.com/users/funo0913/events{/privacy}","received_events_url":"https://api.github.com/users/funo0913/received_events","type":"User","site_admin":false},"body":"ジャンル検索機能を追加\r\n- search_paramsにgenre_id_eq(genre_idが等しいもの)のパラメータを追加\r\n- 商品一覧画面のviewのジャンル一覧のリンクを以下に修正\r\n`  <%= link_to root_path(q:{genre_id_eq: genre.id}) do %>`\r\nlink_toに指定するアクションメソッドの引数に、「q」を追加、「qのgenre_id_eq」にgenre_idを設定\r\n⇒これでrunsackがindexの処理内で検索条件として「パラメータのgenre_idに等しいもの」を使用しくれるようです。\r\n\r\n※検索フォームの表示判定がまだおかしかったので、その修正を含めてしまいました（_userHeader.html.erb)","created_at":"2018-04-23T11:28:42Z","updated_at":"2018-04-23T11:28:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bigapple2018/EC/pulls/40/commits","review_comments_url":"https://api.github.com/repos/bigapple2018/EC/pulls/40/comments","review_comment_url":"https://api.github.com/repos/bigapple2018/EC/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bigapple2018/EC/issues/40/comments","statuses_url":"https://api.github.com/repos/bigapple2018/EC/statuses/18acbb47d8781c80a43a935bc3d6320a7762e5eb","head":{"label":"bigapple2018:items_search_genre_moro","ref":"items_search_genre_moro","sha":"18acbb47d8781c80a43a935bc3d6320a7762e5eb","user":{"login":"bigapple2018","id":38341612,"avatar_url":"https://avatars3.githubusercontent.com/u/38341612?v=4","gravatar_id":"","url":"https://api.github.com/users/bigapple2018","html_url":"https://github.com/bigapple2018","followers_url":"https://api.github.com/users/bigapple2018/followers","following_url":"https://api.github.com/users/bigapple2018/following{/other_user}","gists_url":"https://api.github.com/users/bigapple2018/gists{/gist_id}","starred_url":"https://api.github.com/users/bigapple2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigapple2018/subscriptions","organizations_url":"https://api.github.com/users/bigapple2018/orgs","repos_url":"https://api.github.com/users/bigapple2018/repos","events_url":"https://api.github.com/users/bigapple2018/events{/privacy}","received_events_url":"https://api.github.com/users/bigapple2018/received_events","type":"Organization","site_admin":false},"repo":{"id":129350409,"name":"EC","full_name":"bigapple2018/EC","owner":{"login":"bigapple2018","id":38341612,"avatar_url":"https://avatars3.githubusercontent.com/u/38341612?v=4","gravatar_id":"","url":"https://api.github.com/users/bigapple2018","html_url":"https://github.com/bigapple2018","followers_url":"https://api.github.com/users/bigapple2018/followers","following_url":"https://api.github.com/users/bigapple2018/following{/other_user}","gists_url":"https://api.github.com/users/bigapple2018/gists{/gist_id}","starred_url":"https://api.github.com/users/bigapple2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigapple2018/subscriptions","organizations_url":"https://api.github.com/users/bigapple2018/orgs","repos_url":"https://api.github.com/users/bigapple2018/repos","events_url":"https://api.github.com/users/bigapple2018/events{/privacy}","received_events_url":"https://api.github.com/users/bigapple2018/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bigapple2018/EC","description":null,"fork":false,"url":"https://api.github.com/repos/bigapple2018/EC","forks_url":"https://api.github.com/repos/bigapple2018/EC/forks","keys_url":"https://api.github.com/repos/bigapple2018/EC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bigapple2018/EC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bigapple2018/EC/teams","hooks_url":"https://api.github.com/repos/bigapple2018/EC/hooks","issue_events_url":"https://api.github.com/repos/bigapple2018/EC/issues/events{/number}","events_url":"https://api.github.com/repos/bigapple2018/EC/events","assignees_url":"https://api.github.com/repos/bigapple2018/EC/assignees{/user}","branches_url":"https://api.github.com/repos/bigapple2018/EC/branches{/branch}","tags_url":"https://api.github.com/repos/bigapple2018/EC/tags","blobs_url":"https://api.github.com/repos/bigapple2018/EC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bigapple2018/EC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bigapple2018/EC/git/refs{/sha}","trees_url":"https://api.github.com/repos/bigapple2018/EC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bigapple2018/EC/statuses/{sha}","languages_url":"https://api.github.com/repos/bigapple2018/EC/languages","stargazers_url":"https://api.github.com/repos/bigapple2018/EC/stargazers","contributors_url":"https://api.github.com/repos/bigapple2018/EC/contributors","subscribers_url":"https://api.github.com/repos/bigapple2018/EC/subscribers","subscription_url":"https://api.github.com/repos/bigapple2018/EC/subscription","commits_url":"https://api.github.com/repos/bigapple2018/EC/commits{/sha}","git_commits_url":"https://api.github.com/repos/bigapple2018/EC/git/commits{/sha}","comments_url":"https://api.github.com/repos/bigapple2018/EC/comments{/number}","issue_comment_url":"https://api.github.com/repos/bigapple2018/EC/issues/comments{/number}","contents_url":"https://api.github.com/repos/bigapple2018/EC/contents/{+path}","compare_url":"https://api.github.com/repos/bigapple2018/EC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bigapple2018/EC/merges","archive_url":"https://api.github.com/repos/bigapple2018/EC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bigapple2018/EC/downloads","issues_url":"https://api.github.com/repos/bigapple2018/EC/issues{/number}","pulls_url":"https://api.github.com/repos/bigapple2018/EC/pulls{/number}","milestones_url":"https://api.github.com/repos/bigapple2018/EC/milestones{/number}","notifications_url":"https://api.github.com/repos/bigapple2018/EC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bigapple2018/EC/labels{/name}","releases_url":"https://api.github.com/repos/bigapple2018/EC/releases{/id}","deployments_url":"https://api.github.com/repos/bigapple2018/EC/deployments","created_at":"2018-04-13T05:05:38Z","updated_at":"2018-04-23T06:57:59Z","pushed_at":"2018-04-23T11:27:53Z","git_url":"git://github.com/bigapple2018/EC.git","ssh_url":"git@github.com:bigapple2018/EC.git","clone_url":"https://github.com/bigapple2018/EC.git","svn_url":"https://github.com/bigapple2018/EC","homepage":null,"size":436,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"bigapple2018:master","ref":"master","sha":"68053865720ae84cc9536c622c084477fd16b778","user":{"login":"bigapple2018","id":38341612,"avatar_url":"https://avatars3.githubusercontent.com/u/38341612?v=4","gravatar_id":"","url":"https://api.github.com/users/bigapple2018","html_url":"https://github.com/bigapple2018","followers_url":"https://api.github.com/users/bigapple2018/followers","following_url":"https://api.github.com/users/bigapple2018/following{/other_user}","gists_url":"https://api.github.com/users/bigapple2018/gists{/gist_id}","starred_url":"https://api.github.com/users/bigapple2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigapple2018/subscriptions","organizations_url":"https://api.github.com/users/bigapple2018/orgs","repos_url":"https://api.github.com/users/bigapple2018/repos","events_url":"https://api.github.com/users/bigapple2018/events{/privacy}","received_events_url":"https://api.github.com/users/bigapple2018/received_events","type":"Organization","site_admin":false},"repo":{"id":129350409,"name":"EC","full_name":"bigapple2018/EC","owner":{"login":"bigapple2018","id":38341612,"avatar_url":"https://avatars3.githubusercontent.com/u/38341612?v=4","gravatar_id":"","url":"https://api.github.com/users/bigapple2018","html_url":"https://github.com/bigapple2018","followers_url":"https://api.github.com/users/bigapple2018/followers","following_url":"https://api.github.com/users/bigapple2018/following{/other_user}","gists_url":"https://api.github.com/users/bigapple2018/gists{/gist_id}","starred_url":"https://api.github.com/users/bigapple2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigapple2018/subscriptions","organizations_url":"https://api.github.com/users/bigapple2018/orgs","repos_url":"https://api.github.com/users/bigapple2018/repos","events_url":"https://api.github.com/users/bigapple2018/events{/privacy}","received_events_url":"https://api.github.com/users/bigapple2018/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bigapple2018/EC","description":null,"fork":false,"url":"https://api.github.com/repos/bigapple2018/EC","forks_url":"https://api.github.com/repos/bigapple2018/EC/forks","keys_url":"https://api.github.com/repos/bigapple2018/EC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bigapple2018/EC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bigapple2018/EC/teams","hooks_url":"https://api.github.com/repos/bigapple2018/EC/hooks","issue_events_url":"https://api.github.com/repos/bigapple2018/EC/issues/events{/number}","events_url":"https://api.github.com/repos/bigapple2018/EC/events","assignees_url":"https://api.github.com/repos/bigapple2018/EC/assignees{/user}","branches_url":"https://api.github.com/repos/bigapple2018/EC/branches{/branch}","tags_url":"https://api.github.com/repos/bigapple2018/EC/tags","blobs_url":"https://api.github.com/repos/bigapple2018/EC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bigapple2018/EC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bigapple2018/EC/git/refs{/sha}","trees_url":"https://api.github.com/repos/bigapple2018/EC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bigapple2018/EC/statuses/{sha}","languages_url":"https://api.github.com/repos/bigapple2018/EC/languages","stargazers_url":"https://api.github.com/repos/bigapple2018/EC/stargazers","contributors_url":"https://api.github.com/repos/bigapple2018/EC/contributors","subscribers_url":"https://api.github.com/repos/bigapple2018/EC/subscribers","subscription_url":"https://api.github.com/repos/bigapple2018/EC/subscription","commits_url":"https://api.github.com/repos/bigapple2018/EC/commits{/sha}","git_commits_url":"https://api.github.com/repos/bigapple2018/EC/git/commits{/sha}","comments_url":"https://api.github.com/repos/bigapple2018/EC/comments{/number}","issue_comment_url":"https://api.github.com/repos/bigapple2018/EC/issues/comments{/number}","contents_url":"https://api.github.com/repos/bigapple2018/EC/contents/{+path}","compare_url":"https://api.github.com/repos/bigapple2018/EC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bigapple2018/EC/merges","archive_url":"https://api.github.com/repos/bigapple2018/EC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bigapple2018/EC/downloads","issues_url":"https://api.github.com/repos/bigapple2018/EC/issues{/number}","pulls_url":"https://api.github.com/repos/bigapple2018/EC/pulls{/number}","milestones_url":"https://api.github.com/repos/bigapple2018/EC/milestones{/number}","notifications_url":"https://api.github.com/repos/bigapple2018/EC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bigapple2018/EC/labels{/name}","releases_url":"https://api.github.com/repos/bigapple2018/EC/releases{/id}","deployments_url":"https://api.github.com/repos/bigapple2018/EC/deployments","created_at":"2018-04-13T05:05:38Z","updated_at":"2018-04-23T06:57:59Z","pushed_at":"2018-04-23T11:27:53Z","git_url":"git://github.com/bigapple2018/EC.git","ssh_url":"git@github.com:bigapple2018/EC.git","clone_url":"https://github.com/bigapple2018/EC.git","svn_url":"https://github.com/bigapple2018/EC","homepage":null,"size":436,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bigapple2018/EC/pulls/40"},"html":{"href":"https://github.com/bigapple2018/EC/pull/40"},"issue":{"href":"https://api.github.com/repos/bigapple2018/EC/issues/40"},"comments":{"href":"https://api.github.com/repos/bigapple2018/EC/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/bigapple2018/EC/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/bigapple2018/EC/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bigapple2018/EC/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/bigapple2018/EC/statuses/18acbb47d8781c80a43a935bc3d6320a7762e5eb"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":6,"deletions":10,"changed_files":4}}
{"actor":{"display_login":"funo0913"}}