{"action":"created","comment":{"url":"https://api.github.com/repos/18F/doi-extractives-data/pulls/comments/64959948","id":64959948,"diff_hunk":"@@ -16,25 +16,28 @@ $( document ).ready(function() {\n     }\n   }\n \n-  var query = GetURLParameter('q') || '';\n+  var query = GetURLParameter('q') || '',\n+    apiKEY = eiti.beckleyApiKey;\n+\n   $(\".search-string\").append(query.replace(/%20/g,' '));\n-  $(\"#site-search-text\").attr('value',query.replace(/%20/g,' '));\n+  $(\".site-search-text\").attr('value',query.replace(/%20/g,' '));\n   if(query) {\n-    $(\"input#q\").val(query);\n-    $(\"#search-result-list\").append('<div class=\"loading\"><span class=\"glyphicon glyphicon-refresh\"></span> Loading</div>');\n+    $(\"input.q\").val(query);\n+    $(\".search-result-list\").append('<div class=\"loading\"><span class=\"glyphicon glyphicon-refresh\"></span> Loading</div>');\n+    var url = \"https://api.data.gov/beckley-federalist/v0/resources/eiti/?q=\" + query + \"&size=50&from=0&api_key=\" + apiKEY;","path":"js/components/search.js","position":16,"original_position":16,"commit_id":"bdbff2f215f2b3e9f2bd24f286ea050daa3f3f4e","original_commit_id":"bdbff2f215f2b3e9f2bd24f286ea050daa3f3f4e","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":"Line is too long.<br>Mixed double and single quotes.","created_at":"2016-05-27T20:05:52Z","updated_at":"2016-05-27T20:05:52Z","html_url":"https://github.com/18F/doi-extractives-data/pull/1442#discussion_r64959948","pull_request_url":"https://api.github.com/repos/18F/doi-extractives-data/pulls/1442","_links":{"self":{"href":"https://api.github.com/repos/18F/doi-extractives-data/pulls/comments/64959948"},"html":{"href":"https://github.com/18F/doi-extractives-data/pull/1442#discussion_r64959948"},"pull_request":{"href":"https://api.github.com/repos/18F/doi-extractives-data/pulls/1442"}}},"pull_request":{"url":"https://api.github.com/repos/18F/doi-extractives-data/pulls/1442","id":71765972,"html_url":"https://github.com/18F/doi-extractives-data/pull/1442","diff_url":"https://github.com/18F/doi-extractives-data/pull/1442.diff","patch_url":"https://github.com/18F/doi-extractives-data/pull/1442.patch","issue_url":"https://api.github.com/repos/18F/doi-extractives-data/issues/1442","number":1442,"state":"open","locked":false,"title":"Make Beckley search more accessible, searchable from header, configured in yml","user":{"login":"gemfarmer","id":4803473,"avatar_url":"https://avatars.githubusercontent.com/u/4803473?v=3","gravatar_id":"","url":"https://api.github.com/users/gemfarmer","html_url":"https://github.com/gemfarmer","followers_url":"https://api.github.com/users/gemfarmer/followers","following_url":"https://api.github.com/users/gemfarmer/following{/other_user}","gists_url":"https://api.github.com/users/gemfarmer/gists{/gist_id}","starred_url":"https://api.github.com/users/gemfarmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemfarmer/subscriptions","organizations_url":"https://api.github.com/users/gemfarmer/orgs","repos_url":"https://api.github.com/users/gemfarmer/repos","events_url":"https://api.github.com/users/gemfarmer/events{/privacy}","received_events_url":"https://api.github.com/users/gemfarmer/received_events","type":"User","site_admin":false},"body":"For #1439 and #1438 \r\n\r\nThis PR makes it so that the header is searchable from the header input, moves the api_key for beckley into the `_config.yml`, and removes several of the repeating ids that were causing the `seach-results` page to be less accessible and fail the HTML_CodeSniffer.\r\n\r\n","created_at":"2016-05-27T20:05:39Z","updated_at":"2016-05-27T20:05:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4a753fbdcdb7dcb60d5f0b121b64afaf14dbb9b","assignee":null,"milestone":{"url":"https://api.github.com/repos/18F/doi-extractives-data/milestones/41","html_url":"https://github.com/18F/doi-extractives-data/milestones/Sprint-ElegantEchidna","labels_url":"https://api.github.com/repos/18F/doi-extractives-data/milestones/41/labels","id":1783111,"number":41,"title":"Sprint-ElegantEchidna","description":"","creator":{"login":"meiqimichelle","id":4827522,"avatar_url":"https://avatars.githubusercontent.com/u/4827522?v=3","gravatar_id":"","url":"https://api.github.com/users/meiqimichelle","html_url":"https://github.com/meiqimichelle","followers_url":"https://api.github.com/users/meiqimichelle/followers","following_url":"https://api.github.com/users/meiqimichelle/following{/other_user}","gists_url":"https://api.github.com/users/meiqimichelle/gists{/gist_id}","starred_url":"https://api.github.com/users/meiqimichelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meiqimichelle/subscriptions","organizations_url":"https://api.github.com/users/meiqimichelle/orgs","repos_url":"https://api.github.com/users/meiqimichelle/repos","events_url":"https://api.github.com/users/meiqimichelle/events{/privacy}","received_events_url":"https://api.github.com/users/meiqimichelle/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":2,"state":"open","created_at":"2016-05-23T15:48:12Z","updated_at":"2016-05-27T20:05:39Z","due_on":"2016-06-03T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/18F/doi-extractives-data/pulls/1442/commits","review_comments_url":"https://api.github.com/repos/18F/doi-extractives-data/pulls/1442/comments","review_comment_url":"https://api.github.com/repos/18F/doi-extractives-data/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/doi-extractives-data/issues/1442/comments","statuses_url":"https://api.github.com/repos/18F/doi-extractives-data/statuses/bdbff2f215f2b3e9f2bd24f286ea050daa3f3f4e","head":{"label":"18F:beckley-federalist","ref":"beckley-federalist","sha":"bdbff2f215f2b3e9f2bd24f286ea050daa3f3f4e","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":21627244,"name":"doi-extractives-data","full_name":"18F/doi-extractives-data","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/doi-extractives-data","description":"Information on the extractive industries in the U.S. from Federal data.","fork":false,"url":"https://api.github.com/repos/18F/doi-extractives-data","forks_url":"https://api.github.com/repos/18F/doi-extractives-data/forks","keys_url":"https://api.github.com/repos/18F/doi-extractives-data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/doi-extractives-data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/doi-extractives-data/teams","hooks_url":"https://api.github.com/repos/18F/doi-extractives-data/hooks","issue_events_url":"https://api.github.com/repos/18F/doi-extractives-data/issues/events{/number}","events_url":"https://api.github.com/repos/18F/doi-extractives-data/events","assignees_url":"https://api.github.com/repos/18F/doi-extractives-data/assignees{/user}","branches_url":"https://api.github.com/repos/18F/doi-extractives-data/branches{/branch}","tags_url":"https://api.github.com/repos/18F/doi-extractives-data/tags","blobs_url":"https://api.github.com/repos/18F/doi-extractives-data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/doi-extractives-data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/doi-extractives-data/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/doi-extractives-data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/doi-extractives-data/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/doi-extractives-data/languages","stargazers_url":"https://api.github.com/repos/18F/doi-extractives-data/stargazers","contributors_url":"https://api.github.com/repos/18F/doi-extractives-data/contributors","subscribers_url":"https://api.github.com/repos/18F/doi-extractives-data/subscribers","subscription_url":"https://api.github.com/repos/18F/doi-extractives-data/subscription","commits_url":"https://api.github.com/repos/18F/doi-extractives-data/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/doi-extractives-data/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/doi-extractives-data/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/doi-extractives-data/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/doi-extractives-data/contents/{+path}","compare_url":"https://api.github.com/repos/18F/doi-extractives-data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/doi-extractives-data/merges","archive_url":"https://api.github.com/repos/18F/doi-extractives-data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/doi-extractives-data/downloads","issues_url":"https://api.github.com/repos/18F/doi-extractives-data/issues{/number}","pulls_url":"https://api.github.com/repos/18F/doi-extractives-data/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/doi-extractives-data/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/doi-extractives-data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/doi-extractives-data/labels{/name}","releases_url":"https://api.github.com/repos/18F/doi-extractives-data/releases{/id}","deployments_url":"https://api.github.com/repos/18F/doi-extractives-data/deployments","created_at":"2014-07-08T19:44:18Z","updated_at":"2016-04-26T20:26:38Z","pushed_at":"2016-05-27T20:05:40Z","git_url":"git://github.com/18F/doi-extractives-data.git","ssh_url":"git@github.com:18F/doi-extractives-data.git","clone_url":"https://github.com/18F/doi-extractives-data.git","svn_url":"https://github.com/18F/doi-extractives-data","homepage":"https://useiti.doi.gov/","size":253595,"stargazers_count":17,"watchers_count":17,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":126,"forks":9,"open_issues":126,"watchers":17,"default_branch":"dev"}},"base":{"label":"18F:dev","ref":"dev","sha":"37c2717095ba865fd206cd7bb02b3a6b0267d528","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":21627244,"name":"doi-extractives-data","full_name":"18F/doi-extractives-data","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/doi-extractives-data","description":"Information on the extractive industries in the U.S. from Federal data.","fork":false,"url":"https://api.github.com/repos/18F/doi-extractives-data","forks_url":"https://api.github.com/repos/18F/doi-extractives-data/forks","keys_url":"https://api.github.com/repos/18F/doi-extractives-data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/doi-extractives-data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/doi-extractives-data/teams","hooks_url":"https://api.github.com/repos/18F/doi-extractives-data/hooks","issue_events_url":"https://api.github.com/repos/18F/doi-extractives-data/issues/events{/number}","events_url":"https://api.github.com/repos/18F/doi-extractives-data/events","assignees_url":"https://api.github.com/repos/18F/doi-extractives-data/assignees{/user}","branches_url":"https://api.github.com/repos/18F/doi-extractives-data/branches{/branch}","tags_url":"https://api.github.com/repos/18F/doi-extractives-data/tags","blobs_url":"https://api.github.com/repos/18F/doi-extractives-data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/doi-extractives-data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/doi-extractives-data/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/doi-extractives-data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/doi-extractives-data/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/doi-extractives-data/languages","stargazers_url":"https://api.github.com/repos/18F/doi-extractives-data/stargazers","contributors_url":"https://api.github.com/repos/18F/doi-extractives-data/contributors","subscribers_url":"https://api.github.com/repos/18F/doi-extractives-data/subscribers","subscription_url":"https://api.github.com/repos/18F/doi-extractives-data/subscription","commits_url":"https://api.github.com/repos/18F/doi-extractives-data/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/doi-extractives-data/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/doi-extractives-data/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/doi-extractives-data/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/doi-extractives-data/contents/{+path}","compare_url":"https://api.github.com/repos/18F/doi-extractives-data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/doi-extractives-data/merges","archive_url":"https://api.github.com/repos/18F/doi-extractives-data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/doi-extractives-data/downloads","issues_url":"https://api.github.com/repos/18F/doi-extractives-data/issues{/number}","pulls_url":"https://api.github.com/repos/18F/doi-extractives-data/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/doi-extractives-data/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/doi-extractives-data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/doi-extractives-data/labels{/name}","releases_url":"https://api.github.com/repos/18F/doi-extractives-data/releases{/id}","deployments_url":"https://api.github.com/repos/18F/doi-extractives-data/deployments","created_at":"2014-07-08T19:44:18Z","updated_at":"2016-04-26T20:26:38Z","pushed_at":"2016-05-27T20:05:40Z","git_url":"git://github.com/18F/doi-extractives-data.git","ssh_url":"git@github.com:18F/doi-extractives-data.git","clone_url":"https://github.com/18F/doi-extractives-data.git","svn_url":"https://github.com/18F/doi-extractives-data","homepage":"https://useiti.doi.gov/","size":253595,"stargazers_count":17,"watchers_count":17,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":126,"forks":9,"open_issues":126,"watchers":17,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/doi-extractives-data/pulls/1442"},"html":{"href":"https://github.com/18F/doi-extractives-data/pull/1442"},"issue":{"href":"https://api.github.com/repos/18F/doi-extractives-data/issues/1442"},"comments":{"href":"https://api.github.com/repos/18F/doi-extractives-data/issues/1442/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/doi-extractives-data/pulls/1442/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/doi-extractives-data/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/doi-extractives-data/pulls/1442/commits"},"statuses":{"href":"https://api.github.com/repos/18F/doi-extractives-data/statuses/bdbff2f215f2b3e9f2bd24f286ea050daa3f3f4e"}}}}
{"actor":{"display_login":"houndci-bot"}}