{"action":"created","comment":{"url":"https://api.github.com/repos/sul-dlss/libsys-webforms/pulls/comments/91800919","pull_request_review_id":12314167,"id":91800919,"diff_hunk":"@@ -47,6 +47,7 @@ $(document).ready(function() {\n     user = search_name.substr(search_name.indexOf(',')).substr(2);\n     search_name_param = search_name.substr(0, search_name.indexOf(','));\n     search_id = search_name.substr(0, search_name.indexOf(',')).replace(/\\s/g, '_') + user;\n+    current_user = $('#shelf_selection_report_email').val().split('@')[0];","path":"app/assets/javascripts/shelf_selection_reports.js","position":4,"original_position":4,"commit_id":"9a7c9581a00387c5f0bdede631e035ebd6a7920b","original_commit_id":"9a7c9581a00387c5f0bdede631e035ebd6a7920b","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Identifier 'current_user' is not in camel case.","created_at":"2016-12-09T21:40:30Z","updated_at":"2016-12-09T21:40:30Z","html_url":"https://github.com/sul-dlss/libsys-webforms/pull/263#discussion_r91800919","pull_request_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/pulls/263","_links":{"self":{"href":"https://api.github.com/repos/sul-dlss/libsys-webforms/pulls/comments/91800919"},"html":{"href":"https://github.com/sul-dlss/libsys-webforms/pull/263#discussion_r91800919"},"pull_request":{"href":"https://api.github.com/repos/sul-dlss/libsys-webforms/pulls/263"}}},"pull_request":{"url":"https://api.github.com/repos/sul-dlss/libsys-webforms/pulls/263","id":97384932,"html_url":"https://github.com/sul-dlss/libsys-webforms/pull/263","diff_url":"https://github.com/sul-dlss/libsys-webforms/pull/263.diff","patch_url":"https://github.com/sul-dlss/libsys-webforms/pull/263.patch","issue_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/issues/263","number":263,"state":"open","locked":false,"title":"Unique contraint","user":{"login":"jgreben","id":3093850,"avatar_url":"https://avatars.githubusercontent.com/u/3093850?v=3","gravatar_id":"","url":"https://api.github.com/users/jgreben","html_url":"https://github.com/jgreben","followers_url":"https://api.github.com/users/jgreben/followers","following_url":"https://api.github.com/users/jgreben/following{/other_user}","gists_url":"https://api.github.com/users/jgreben/gists{/gist_id}","starred_url":"https://api.github.com/users/jgreben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgreben/subscriptions","organizations_url":"https://api.github.com/users/jgreben/orgs","repos_url":"https://api.github.com/users/jgreben/repos","events_url":"https://api.github.com/users/jgreben/events{/privacy}","received_events_url":"https://api.github.com/users/jgreben/received_events","type":"User","site_admin":false},"body":"The unique constrain error was happening because the shelf_sel_search was trying to insert a row over an existing one. Doing an update instead fixed it.","created_at":"2016-12-09T21:40:17Z","updated_at":"2016-12-09T21:40:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"058f5098ee2d65b721d4f382d77ab163ddbf6189","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/pulls/263/commits","review_comments_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/pulls/263/comments","review_comment_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/issues/263/comments","statuses_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/statuses/9a7c9581a00387c5f0bdede631e035ebd6a7920b","head":{"label":"sul-dlss:unique-contraint","ref":"unique-contraint","sha":"9a7c9581a00387c5f0bdede631e035ebd6a7920b","user":{"login":"sul-dlss","id":230583,"avatar_url":"https://avatars.githubusercontent.com/u/230583?v=3","gravatar_id":"","url":"https://api.github.com/users/sul-dlss","html_url":"https://github.com/sul-dlss","followers_url":"https://api.github.com/users/sul-dlss/followers","following_url":"https://api.github.com/users/sul-dlss/following{/other_user}","gists_url":"https://api.github.com/users/sul-dlss/gists{/gist_id}","starred_url":"https://api.github.com/users/sul-dlss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sul-dlss/subscriptions","organizations_url":"https://api.github.com/users/sul-dlss/orgs","repos_url":"https://api.github.com/users/sul-dlss/repos","events_url":"https://api.github.com/users/sul-dlss/events{/privacy}","received_events_url":"https://api.github.com/users/sul-dlss/received_events","type":"Organization","site_admin":false},"repo":{"id":50386734,"name":"libsys-webforms","full_name":"sul-dlss/libsys-webforms","owner":{"login":"sul-dlss","id":230583,"avatar_url":"https://avatars.githubusercontent.com/u/230583?v=3","gravatar_id":"","url":"https://api.github.com/users/sul-dlss","html_url":"https://github.com/sul-dlss","followers_url":"https://api.github.com/users/sul-dlss/followers","following_url":"https://api.github.com/users/sul-dlss/following{/other_user}","gists_url":"https://api.github.com/users/sul-dlss/gists{/gist_id}","starred_url":"https://api.github.com/users/sul-dlss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sul-dlss/subscriptions","organizations_url":"https://api.github.com/users/sul-dlss/orgs","repos_url":"https://api.github.com/users/sul-dlss/repos","events_url":"https://api.github.com/users/sul-dlss/events{/privacy}","received_events_url":"https://api.github.com/users/sul-dlss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sul-dlss/libsys-webforms","description":"Rails applications for various Symphony reporting & updating tools.","fork":false,"url":"https://api.github.com/repos/sul-dlss/libsys-webforms","forks_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/forks","keys_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/teams","hooks_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/hooks","issue_events_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/issues/events{/number}","events_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/events","assignees_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/assignees{/user}","branches_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/branches{/branch}","tags_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/tags","blobs_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/git/refs{/sha}","trees_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/statuses/{sha}","languages_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/languages","stargazers_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/stargazers","contributors_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/contributors","subscribers_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/subscribers","subscription_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/subscription","commits_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/commits{/sha}","git_commits_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/git/commits{/sha}","comments_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/comments{/number}","issue_comment_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/issues/comments{/number}","contents_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/contents/{+path}","compare_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/merges","archive_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/downloads","issues_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/issues{/number}","pulls_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/pulls{/number}","milestones_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/milestones{/number}","notifications_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/labels{/name}","releases_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/releases{/id}","deployments_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/deployments","created_at":"2016-01-25T22:50:20Z","updated_at":"2016-10-24T22:48:36Z","pushed_at":"2016-12-09T21:40:17Z","git_url":"git://github.com/sul-dlss/libsys-webforms.git","ssh_url":"git@github.com:sul-dlss/libsys-webforms.git","clone_url":"https://github.com/sul-dlss/libsys-webforms.git","svn_url":"https://github.com/sul-dlss/libsys-webforms","homepage":"","size":598,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":25,"forks":0,"open_issues":25,"watchers":0,"default_branch":"master"}},"base":{"label":"sul-dlss:master","ref":"master","sha":"022b469e359d54b9a66c3e5658046026f60f299a","user":{"login":"sul-dlss","id":230583,"avatar_url":"https://avatars.githubusercontent.com/u/230583?v=3","gravatar_id":"","url":"https://api.github.com/users/sul-dlss","html_url":"https://github.com/sul-dlss","followers_url":"https://api.github.com/users/sul-dlss/followers","following_url":"https://api.github.com/users/sul-dlss/following{/other_user}","gists_url":"https://api.github.com/users/sul-dlss/gists{/gist_id}","starred_url":"https://api.github.com/users/sul-dlss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sul-dlss/subscriptions","organizations_url":"https://api.github.com/users/sul-dlss/orgs","repos_url":"https://api.github.com/users/sul-dlss/repos","events_url":"https://api.github.com/users/sul-dlss/events{/privacy}","received_events_url":"https://api.github.com/users/sul-dlss/received_events","type":"Organization","site_admin":false},"repo":{"id":50386734,"name":"libsys-webforms","full_name":"sul-dlss/libsys-webforms","owner":{"login":"sul-dlss","id":230583,"avatar_url":"https://avatars.githubusercontent.com/u/230583?v=3","gravatar_id":"","url":"https://api.github.com/users/sul-dlss","html_url":"https://github.com/sul-dlss","followers_url":"https://api.github.com/users/sul-dlss/followers","following_url":"https://api.github.com/users/sul-dlss/following{/other_user}","gists_url":"https://api.github.com/users/sul-dlss/gists{/gist_id}","starred_url":"https://api.github.com/users/sul-dlss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sul-dlss/subscriptions","organizations_url":"https://api.github.com/users/sul-dlss/orgs","repos_url":"https://api.github.com/users/sul-dlss/repos","events_url":"https://api.github.com/users/sul-dlss/events{/privacy}","received_events_url":"https://api.github.com/users/sul-dlss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sul-dlss/libsys-webforms","description":"Rails applications for various Symphony reporting & updating tools.","fork":false,"url":"https://api.github.com/repos/sul-dlss/libsys-webforms","forks_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/forks","keys_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/teams","hooks_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/hooks","issue_events_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/issues/events{/number}","events_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/events","assignees_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/assignees{/user}","branches_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/branches{/branch}","tags_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/tags","blobs_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/git/refs{/sha}","trees_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/statuses/{sha}","languages_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/languages","stargazers_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/stargazers","contributors_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/contributors","subscribers_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/subscribers","subscription_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/subscription","commits_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/commits{/sha}","git_commits_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/git/commits{/sha}","comments_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/comments{/number}","issue_comment_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/issues/comments{/number}","contents_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/contents/{+path}","compare_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/merges","archive_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/downloads","issues_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/issues{/number}","pulls_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/pulls{/number}","milestones_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/milestones{/number}","notifications_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/labels{/name}","releases_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/releases{/id}","deployments_url":"https://api.github.com/repos/sul-dlss/libsys-webforms/deployments","created_at":"2016-01-25T22:50:20Z","updated_at":"2016-10-24T22:48:36Z","pushed_at":"2016-12-09T21:40:17Z","git_url":"git://github.com/sul-dlss/libsys-webforms.git","ssh_url":"git@github.com:sul-dlss/libsys-webforms.git","clone_url":"https://github.com/sul-dlss/libsys-webforms.git","svn_url":"https://github.com/sul-dlss/libsys-webforms","homepage":"","size":598,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":25,"forks":0,"open_issues":25,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sul-dlss/libsys-webforms/pulls/263"},"html":{"href":"https://github.com/sul-dlss/libsys-webforms/pull/263"},"issue":{"href":"https://api.github.com/repos/sul-dlss/libsys-webforms/issues/263"},"comments":{"href":"https://api.github.com/repos/sul-dlss/libsys-webforms/issues/263/comments"},"review_comments":{"href":"https://api.github.com/repos/sul-dlss/libsys-webforms/pulls/263/comments"},"review_comment":{"href":"https://api.github.com/repos/sul-dlss/libsys-webforms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sul-dlss/libsys-webforms/pulls/263/commits"},"statuses":{"href":"https://api.github.com/repos/sul-dlss/libsys-webforms/statuses/9a7c9581a00387c5f0bdede631e035ebd6a7920b"}}}}
{"actor":{"display_login":"houndci-bot"}}