{"action":"created","comment":{"url":"https://api.github.com/repos/pi-hole/AdminLTE/pulls/comments/88946499","pull_request_review_id":9502088,"id":88946499,"diff_hunk":"@@ -260,14 +261,24 @@ function updateTopLists() {\n     $.getJSON(\"api.php?summaryRaw&topItems\", function(data) {\n         var domaintable = $('#domain-frequency').find('tbody:last');\n         var adtable = $('#ad-frequency').find('tbody:last');\n+        var url;\n \n-        for (domain in data.top_queries) {\n-            domaintable.append('<tr> <td>' + domain +\n+        for (var domain in data.top_queries) {","path":"js/pihole/index.js","position":20,"original_position":20,"commit_id":"916614542a2844ab8b922b2885399831ee3ab5fd","original_commit_id":"e67a16a54c18a2b04826654f81c39908b0aa50b9","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: ['domain' used outside of binding context. (block-scoped-var)](https://www.codacy.com/app/Pi-hole/AdminLTE/file/4484666866/issues/source?bid=3919163&fileBranchId=3926236#l266)","created_at":"2016-11-21T17:34:06Z","updated_at":"2016-11-21T17:34:06Z","html_url":"https://github.com/pi-hole/AdminLTE/pull/207#discussion_r88946499","pull_request_url":"https://api.github.com/repos/pi-hole/AdminLTE/pulls/207","_links":{"self":{"href":"https://api.github.com/repos/pi-hole/AdminLTE/pulls/comments/88946499"},"html":{"href":"https://github.com/pi-hole/AdminLTE/pull/207#discussion_r88946499"},"pull_request":{"href":"https://api.github.com/repos/pi-hole/AdminLTE/pulls/207"}}},"pull_request":{"url":"https://api.github.com/repos/pi-hole/AdminLTE/pulls/207","id":94651645,"html_url":"https://github.com/pi-hole/AdminLTE/pull/207","diff_url":"https://github.com/pi-hole/AdminLTE/pull/207.diff","patch_url":"https://github.com/pi-hole/AdminLTE/pull/207.patch","issue_url":"https://api.github.com/repos/pi-hole/AdminLTE/issues/207","number":207,"state":"open","locked":false,"title":"Be able to pass filters to queries.php","user":{"login":"DL6ER","id":16748619,"avatar_url":"https://avatars.githubusercontent.com/u/16748619?v=3","gravatar_id":"","url":"https://api.github.com/users/DL6ER","html_url":"https://github.com/DL6ER","followers_url":"https://api.github.com/users/DL6ER/followers","following_url":"https://api.github.com/users/DL6ER/following{/other_user}","gists_url":"https://api.github.com/users/DL6ER/gists{/gist_id}","starred_url":"https://api.github.com/users/DL6ER/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DL6ER/subscriptions","organizations_url":"https://api.github.com/users/DL6ER/orgs","repos_url":"https://api.github.com/users/DL6ER/repos","events_url":"https://api.github.com/users/DL6ER/events{/privacy}","received_events_url":"https://api.github.com/users/DL6ER/received_events","type":"User","site_admin":false},"body":"Fixes #90 .\r\n\r\nChanges proposed in this pull request:\r\n\r\n- Be able to call queries.js with preset filters like `queries.php?client=10.100.0.1` or `queries.php?domain=github.com`\r\n\r\n- Automatically provide links in all three tables on the main page to get the corresponding queries\r\n\r\n![screenshot at 2016-11-21 17-36-30](https://cloud.githubusercontent.com/assets/16748619/20491435/aff90264-b011-11e6-9b25-606fdcb236b0.png)\r\n\r\nLooking for a specific domain:\r\n![screenshot at 2016-11-21 17-36-12](https://cloud.githubusercontent.com/assets/16748619/20491444/b7fb2c08-b011-11e6-845a-f0e17906726a.png)\r\n\r\nLooking for a specific client:\r\n![screenshot at 2016-11-21 17-41-55](https://cloud.githubusercontent.com/assets/16748619/20491495/de0c1d9e-b011-11e6-9141-659651485e5e.png)\r\n\r\n\r\n@pi-hole/dashboard\r\n\r\n","created_at":"2016-11-21T16:42:56Z","updated_at":"2016-11-21T17:34:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"991ab96887aaa01ad0e25fce5f4a0d82d3b31a91","assignee":{"login":"DL6ER","id":16748619,"avatar_url":"https://avatars.githubusercontent.com/u/16748619?v=3","gravatar_id":"","url":"https://api.github.com/users/DL6ER","html_url":"https://github.com/DL6ER","followers_url":"https://api.github.com/users/DL6ER/followers","following_url":"https://api.github.com/users/DL6ER/following{/other_user}","gists_url":"https://api.github.com/users/DL6ER/gists{/gist_id}","starred_url":"https://api.github.com/users/DL6ER/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DL6ER/subscriptions","organizations_url":"https://api.github.com/users/DL6ER/orgs","repos_url":"https://api.github.com/users/DL6ER/repos","events_url":"https://api.github.com/users/DL6ER/events{/privacy}","received_events_url":"https://api.github.com/users/DL6ER/received_events","type":"User","site_admin":false},"assignees":[{"login":"DL6ER","id":16748619,"avatar_url":"https://avatars.githubusercontent.com/u/16748619?v=3","gravatar_id":"","url":"https://api.github.com/users/DL6ER","html_url":"https://github.com/DL6ER","followers_url":"https://api.github.com/users/DL6ER/followers","following_url":"https://api.github.com/users/DL6ER/following{/other_user}","gists_url":"https://api.github.com/users/DL6ER/gists{/gist_id}","starred_url":"https://api.github.com/users/DL6ER/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DL6ER/subscriptions","organizations_url":"https://api.github.com/users/DL6ER/orgs","repos_url":"https://api.github.com/users/DL6ER/repos","events_url":"https://api.github.com/users/DL6ER/events{/privacy}","received_events_url":"https://api.github.com/users/DL6ER/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/pi-hole/AdminLTE/pulls/207/commits","review_comments_url":"https://api.github.com/repos/pi-hole/AdminLTE/pulls/207/comments","review_comment_url":"https://api.github.com/repos/pi-hole/AdminLTE/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pi-hole/AdminLTE/issues/207/comments","statuses_url":"https://api.github.com/repos/pi-hole/AdminLTE/statuses/916614542a2844ab8b922b2885399831ee3ab5fd","head":{"label":"DL6ER:queryfilters","ref":"queryfilters","sha":"916614542a2844ab8b922b2885399831ee3ab5fd","user":{"login":"DL6ER","id":16748619,"avatar_url":"https://avatars.githubusercontent.com/u/16748619?v=3","gravatar_id":"","url":"https://api.github.com/users/DL6ER","html_url":"https://github.com/DL6ER","followers_url":"https://api.github.com/users/DL6ER/followers","following_url":"https://api.github.com/users/DL6ER/following{/other_user}","gists_url":"https://api.github.com/users/DL6ER/gists{/gist_id}","starred_url":"https://api.github.com/users/DL6ER/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DL6ER/subscriptions","organizations_url":"https://api.github.com/users/DL6ER/orgs","repos_url":"https://api.github.com/users/DL6ER/repos","events_url":"https://api.github.com/users/DL6ER/events{/privacy}","received_events_url":"https://api.github.com/users/DL6ER/received_events","type":"User","site_admin":false},"repo":{"id":72882438,"name":"AdminLTE","full_name":"DL6ER/AdminLTE","owner":{"login":"DL6ER","id":16748619,"avatar_url":"https://avatars.githubusercontent.com/u/16748619?v=3","gravatar_id":"","url":"https://api.github.com/users/DL6ER","html_url":"https://github.com/DL6ER","followers_url":"https://api.github.com/users/DL6ER/followers","following_url":"https://api.github.com/users/DL6ER/following{/other_user}","gists_url":"https://api.github.com/users/DL6ER/gists{/gist_id}","starred_url":"https://api.github.com/users/DL6ER/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DL6ER/subscriptions","organizations_url":"https://api.github.com/users/DL6ER/orgs","repos_url":"https://api.github.com/users/DL6ER/repos","events_url":"https://api.github.com/users/DL6ER/events{/privacy}","received_events_url":"https://api.github.com/users/DL6ER/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DL6ER/AdminLTE","description":"Pi-hole Dashboard for stats and more","fork":true,"url":"https://api.github.com/repos/DL6ER/AdminLTE","forks_url":"https://api.github.com/repos/DL6ER/AdminLTE/forks","keys_url":"https://api.github.com/repos/DL6ER/AdminLTE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DL6ER/AdminLTE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DL6ER/AdminLTE/teams","hooks_url":"https://api.github.com/repos/DL6ER/AdminLTE/hooks","issue_events_url":"https://api.github.com/repos/DL6ER/AdminLTE/issues/events{/number}","events_url":"https://api.github.com/repos/DL6ER/AdminLTE/events","assignees_url":"https://api.github.com/repos/DL6ER/AdminLTE/assignees{/user}","branches_url":"https://api.github.com/repos/DL6ER/AdminLTE/branches{/branch}","tags_url":"https://api.github.com/repos/DL6ER/AdminLTE/tags","blobs_url":"https://api.github.com/repos/DL6ER/AdminLTE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DL6ER/AdminLTE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DL6ER/AdminLTE/git/refs{/sha}","trees_url":"https://api.github.com/repos/DL6ER/AdminLTE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DL6ER/AdminLTE/statuses/{sha}","languages_url":"https://api.github.com/repos/DL6ER/AdminLTE/languages","stargazers_url":"https://api.github.com/repos/DL6ER/AdminLTE/stargazers","contributors_url":"https://api.github.com/repos/DL6ER/AdminLTE/contributors","subscribers_url":"https://api.github.com/repos/DL6ER/AdminLTE/subscribers","subscription_url":"https://api.github.com/repos/DL6ER/AdminLTE/subscription","commits_url":"https://api.github.com/repos/DL6ER/AdminLTE/commits{/sha}","git_commits_url":"https://api.github.com/repos/DL6ER/AdminLTE/git/commits{/sha}","comments_url":"https://api.github.com/repos/DL6ER/AdminLTE/comments{/number}","issue_comment_url":"https://api.github.com/repos/DL6ER/AdminLTE/issues/comments{/number}","contents_url":"https://api.github.com/repos/DL6ER/AdminLTE/contents/{+path}","compare_url":"https://api.github.com/repos/DL6ER/AdminLTE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DL6ER/AdminLTE/merges","archive_url":"https://api.github.com/repos/DL6ER/AdminLTE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DL6ER/AdminLTE/downloads","issues_url":"https://api.github.com/repos/DL6ER/AdminLTE/issues{/number}","pulls_url":"https://api.github.com/repos/DL6ER/AdminLTE/pulls{/number}","milestones_url":"https://api.github.com/repos/DL6ER/AdminLTE/milestones{/number}","notifications_url":"https://api.github.com/repos/DL6ER/AdminLTE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DL6ER/AdminLTE/labels{/name}","releases_url":"https://api.github.com/repos/DL6ER/AdminLTE/releases{/id}","deployments_url":"https://api.github.com/repos/DL6ER/AdminLTE/deployments","created_at":"2016-11-04T20:19:55Z","updated_at":"2016-11-11T20:00:47Z","pushed_at":"2016-11-21T17:33:39Z","git_url":"git://github.com/DL6ER/AdminLTE.git","ssh_url":"git@github.com:DL6ER/AdminLTE.git","clone_url":"https://github.com/DL6ER/AdminLTE.git","svn_url":"https://github.com/DL6ER/AdminLTE","homepage":"https://pi-hole.net","size":23230,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"devel"}},"base":{"label":"pi-hole:devel","ref":"devel","sha":"6230c88afd9cd32925f7d85725a6aca6c02f15f6","user":{"login":"pi-hole","id":16827203,"avatar_url":"https://avatars.githubusercontent.com/u/16827203?v=3","gravatar_id":"","url":"https://api.github.com/users/pi-hole","html_url":"https://github.com/pi-hole","followers_url":"https://api.github.com/users/pi-hole/followers","following_url":"https://api.github.com/users/pi-hole/following{/other_user}","gists_url":"https://api.github.com/users/pi-hole/gists{/gist_id}","starred_url":"https://api.github.com/users/pi-hole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pi-hole/subscriptions","organizations_url":"https://api.github.com/users/pi-hole/orgs","repos_url":"https://api.github.com/users/pi-hole/repos","events_url":"https://api.github.com/users/pi-hole/events{/privacy}","received_events_url":"https://api.github.com/users/pi-hole/received_events","type":"Organization","site_admin":false},"repo":{"id":39698170,"name":"AdminLTE","full_name":"pi-hole/AdminLTE","owner":{"login":"pi-hole","id":16827203,"avatar_url":"https://avatars.githubusercontent.com/u/16827203?v=3","gravatar_id":"","url":"https://api.github.com/users/pi-hole","html_url":"https://github.com/pi-hole","followers_url":"https://api.github.com/users/pi-hole/followers","following_url":"https://api.github.com/users/pi-hole/following{/other_user}","gists_url":"https://api.github.com/users/pi-hole/gists{/gist_id}","starred_url":"https://api.github.com/users/pi-hole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pi-hole/subscriptions","organizations_url":"https://api.github.com/users/pi-hole/orgs","repos_url":"https://api.github.com/users/pi-hole/repos","events_url":"https://api.github.com/users/pi-hole/events{/privacy}","received_events_url":"https://api.github.com/users/pi-hole/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pi-hole/AdminLTE","description":"Pi-hole Dashboard for stats and more","fork":true,"url":"https://api.github.com/repos/pi-hole/AdminLTE","forks_url":"https://api.github.com/repos/pi-hole/AdminLTE/forks","keys_url":"https://api.github.com/repos/pi-hole/AdminLTE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pi-hole/AdminLTE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pi-hole/AdminLTE/teams","hooks_url":"https://api.github.com/repos/pi-hole/AdminLTE/hooks","issue_events_url":"https://api.github.com/repos/pi-hole/AdminLTE/issues/events{/number}","events_url":"https://api.github.com/repos/pi-hole/AdminLTE/events","assignees_url":"https://api.github.com/repos/pi-hole/AdminLTE/assignees{/user}","branches_url":"https://api.github.com/repos/pi-hole/AdminLTE/branches{/branch}","tags_url":"https://api.github.com/repos/pi-hole/AdminLTE/tags","blobs_url":"https://api.github.com/repos/pi-hole/AdminLTE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pi-hole/AdminLTE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pi-hole/AdminLTE/git/refs{/sha}","trees_url":"https://api.github.com/repos/pi-hole/AdminLTE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pi-hole/AdminLTE/statuses/{sha}","languages_url":"https://api.github.com/repos/pi-hole/AdminLTE/languages","stargazers_url":"https://api.github.com/repos/pi-hole/AdminLTE/stargazers","contributors_url":"https://api.github.com/repos/pi-hole/AdminLTE/contributors","subscribers_url":"https://api.github.com/repos/pi-hole/AdminLTE/subscribers","subscription_url":"https://api.github.com/repos/pi-hole/AdminLTE/subscription","commits_url":"https://api.github.com/repos/pi-hole/AdminLTE/commits{/sha}","git_commits_url":"https://api.github.com/repos/pi-hole/AdminLTE/git/commits{/sha}","comments_url":"https://api.github.com/repos/pi-hole/AdminLTE/comments{/number}","issue_comment_url":"https://api.github.com/repos/pi-hole/AdminLTE/issues/comments{/number}","contents_url":"https://api.github.com/repos/pi-hole/AdminLTE/contents/{+path}","compare_url":"https://api.github.com/repos/pi-hole/AdminLTE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pi-hole/AdminLTE/merges","archive_url":"https://api.github.com/repos/pi-hole/AdminLTE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pi-hole/AdminLTE/downloads","issues_url":"https://api.github.com/repos/pi-hole/AdminLTE/issues{/number}","pulls_url":"https://api.github.com/repos/pi-hole/AdminLTE/pulls{/number}","milestones_url":"https://api.github.com/repos/pi-hole/AdminLTE/milestones{/number}","notifications_url":"https://api.github.com/repos/pi-hole/AdminLTE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pi-hole/AdminLTE/labels{/name}","releases_url":"https://api.github.com/repos/pi-hole/AdminLTE/releases{/id}","deployments_url":"https://api.github.com/repos/pi-hole/AdminLTE/deployments","created_at":"2015-07-25T18:45:30Z","updated_at":"2016-10-31T09:17:30Z","pushed_at":"2016-11-21T17:33:40Z","git_url":"git://github.com/pi-hole/AdminLTE.git","ssh_url":"git@github.com:pi-hole/AdminLTE.git","clone_url":"https://github.com/pi-hole/AdminLTE.git","svn_url":"https://github.com/pi-hole/AdminLTE","homepage":"https://pi-hole.net","size":37864,"stargazers_count":71,"watchers_count":71,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":16,"forks":55,"open_issues":16,"watchers":71,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pi-hole/AdminLTE/pulls/207"},"html":{"href":"https://github.com/pi-hole/AdminLTE/pull/207"},"issue":{"href":"https://api.github.com/repos/pi-hole/AdminLTE/issues/207"},"comments":{"href":"https://api.github.com/repos/pi-hole/AdminLTE/issues/207/comments"},"review_comments":{"href":"https://api.github.com/repos/pi-hole/AdminLTE/pulls/207/comments"},"review_comment":{"href":"https://api.github.com/repos/pi-hole/AdminLTE/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pi-hole/AdminLTE/pulls/207/commits"},"statuses":{"href":"https://api.github.com/repos/pi-hole/AdminLTE/statuses/916614542a2844ab8b922b2885399831ee3ab5fd"}}}}
{"actor":{"display_login":"codacy-bot"}}