{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-store/pulls/comments/80939647","pull_request_review_id":1955199,"id":80939647,"diff_hunk":"@@ -63,21 +67,37 @@ var categorization = function () {\n                 queryObjArray.push(queryObj);\n             }\n \n-            for (var i in queryObjArray) {\n-                $('.categorization-checkbox:checkbox').each(function () {\n-                    var $this = $(this);\n-                    if ($this.attr('name') == queryObjArray[i].queryKey) {\n-                        for (var k in queryObjArray[i].queryValue) {\n-                            if ($this.attr('value').toLowerCase()\n-                                == queryObjArray[i].queryValue[k].trim().toLowerCase()) {\n-                                $this.attr('checked', true);\n-                                $(\"#\" + $this.attr('name')).collapse('show');\n-                                var icon = $(\"#\" + $this.attr('name')).prev().find('.status').children();\n-                            }\n-                        }\n+            $('.refine > .panel > div').each(function () {\n+                var field = $(this).attr('id');\n+                var queryObject = queryObjArray.filter(function (queryObj) {\n+                    return queryObj.queryKey == field;","path":"apps/store/themes/store/js/categorization.js","position":39,"original_position":39,"commit_id":"6fe1ed65758f492c9d025ff984bd593e35c04530","original_commit_id":"6fe1ed65758f492c9d025ff984bd593e35c04530","user":{"login":"splinter","id":53738,"avatar_url":"https://avatars.githubusercontent.com/u/53738?v=3","gravatar_id":"","url":"https://api.github.com/users/splinter","html_url":"https://github.com/splinter","followers_url":"https://api.github.com/users/splinter/followers","following_url":"https://api.github.com/users/splinter/following{/other_user}","gists_url":"https://api.github.com/users/splinter/gists{/gist_id}","starred_url":"https://api.github.com/users/splinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splinter/subscriptions","organizations_url":"https://api.github.com/users/splinter/orgs","repos_url":"https://api.github.com/users/splinter/repos","events_url":"https://api.github.com/users/splinter/events{/privacy}","received_events_url":"https://api.github.com/users/splinter/received_events","type":"User","site_admin":false},"body":"Please change  to:\r\n```js\r\nreturn (queryObj.queryKey === field);\r\n``","created_at":"2016-09-28T15:06:35Z","updated_at":"2016-09-28T15:07:13Z","html_url":"https://github.com/wso2/carbon-store/pull/807#discussion_r80939647","pull_request_url":"https://api.github.com/repos/wso2/carbon-store/pulls/807","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-store/pulls/comments/80939647"},"html":{"href":"https://github.com/wso2/carbon-store/pull/807#discussion_r80939647"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-store/pulls/807"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-store/pulls/807","id":78569605,"html_url":"https://github.com/wso2/carbon-store/pull/807","diff_url":"https://github.com/wso2/carbon-store/pull/807.diff","patch_url":"https://github.com/wso2/carbon-store/pull/807.patch","issue_url":"https://api.github.com/repos/wso2/carbon-store/issues/807","number":807,"state":"closed","locked":false,"title":"Fix for REGISTRY-3848","user":{"login":"madawas","id":4003137,"avatar_url":"https://avatars.githubusercontent.com/u/4003137?v=3","gravatar_id":"","url":"https://api.github.com/users/madawas","html_url":"https://github.com/madawas","followers_url":"https://api.github.com/users/madawas/followers","following_url":"https://api.github.com/users/madawas/following{/other_user}","gists_url":"https://api.github.com/users/madawas/gists{/gist_id}","starred_url":"https://api.github.com/users/madawas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madawas/subscriptions","organizations_url":"https://api.github.com/users/madawas/orgs","repos_url":"https://api.github.com/users/madawas/repos","events_url":"https://api.github.com/users/madawas/events{/privacy}","received_events_url":"https://api.github.com/users/madawas/received_events","type":"User","site_admin":false},"body":"This PR is related with [REGISTRY-3848](https://wso2.org/jira/browse/REGISTRY-3848)\r\n\r\nThis fix removes unnecessary categorization options from page URL. ","created_at":"2016-07-23T10:52:42Z","updated_at":"2016-09-28T15:07:13Z","closed_at":"2016-07-25T13:38:19Z","merged_at":"2016-07-25T13:38:19Z","merge_commit_sha":"275e3a17c0878c84f3d48e741dcbdaf513f63e19","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-store/pulls/807/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-store/pulls/807/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-store/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-store/issues/807/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-store/statuses/6fe1ed65758f492c9d025ff984bd593e35c04530","head":{"label":"madawas:taxonomy","ref":"taxonomy","sha":"6fe1ed65758f492c9d025ff984bd593e35c04530","user":{"login":"madawas","id":4003137,"avatar_url":"https://avatars.githubusercontent.com/u/4003137?v=3","gravatar_id":"","url":"https://api.github.com/users/madawas","html_url":"https://github.com/madawas","followers_url":"https://api.github.com/users/madawas/followers","following_url":"https://api.github.com/users/madawas/following{/other_user}","gists_url":"https://api.github.com/users/madawas/gists{/gist_id}","starred_url":"https://api.github.com/users/madawas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madawas/subscriptions","organizations_url":"https://api.github.com/users/madawas/orgs","repos_url":"https://api.github.com/users/madawas/repos","events_url":"https://api.github.com/users/madawas/events{/privacy}","received_events_url":"https://api.github.com/users/madawas/received_events","type":"User","site_admin":false},"repo":{"id":55590399,"name":"carbon-store","full_name":"madawas/carbon-store","owner":{"login":"madawas","id":4003137,"avatar_url":"https://avatars.githubusercontent.com/u/4003137?v=3","gravatar_id":"","url":"https://api.github.com/users/madawas","html_url":"https://github.com/madawas","followers_url":"https://api.github.com/users/madawas/followers","following_url":"https://api.github.com/users/madawas/following{/other_user}","gists_url":"https://api.github.com/users/madawas/gists{/gist_id}","starred_url":"https://api.github.com/users/madawas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madawas/subscriptions","organizations_url":"https://api.github.com/users/madawas/orgs","repos_url":"https://api.github.com/users/madawas/repos","events_url":"https://api.github.com/users/madawas/events{/privacy}","received_events_url":"https://api.github.com/users/madawas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/madawas/carbon-store","description":"","fork":true,"url":"https://api.github.com/repos/madawas/carbon-store","forks_url":"https://api.github.com/repos/madawas/carbon-store/forks","keys_url":"https://api.github.com/repos/madawas/carbon-store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/madawas/carbon-store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/madawas/carbon-store/teams","hooks_url":"https://api.github.com/repos/madawas/carbon-store/hooks","issue_events_url":"https://api.github.com/repos/madawas/carbon-store/issues/events{/number}","events_url":"https://api.github.com/repos/madawas/carbon-store/events","assignees_url":"https://api.github.com/repos/madawas/carbon-store/assignees{/user}","branches_url":"https://api.github.com/repos/madawas/carbon-store/branches{/branch}","tags_url":"https://api.github.com/repos/madawas/carbon-store/tags","blobs_url":"https://api.github.com/repos/madawas/carbon-store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/madawas/carbon-store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/madawas/carbon-store/git/refs{/sha}","trees_url":"https://api.github.com/repos/madawas/carbon-store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/madawas/carbon-store/statuses/{sha}","languages_url":"https://api.github.com/repos/madawas/carbon-store/languages","stargazers_url":"https://api.github.com/repos/madawas/carbon-store/stargazers","contributors_url":"https://api.github.com/repos/madawas/carbon-store/contributors","subscribers_url":"https://api.github.com/repos/madawas/carbon-store/subscribers","subscription_url":"https://api.github.com/repos/madawas/carbon-store/subscription","commits_url":"https://api.github.com/repos/madawas/carbon-store/commits{/sha}","git_commits_url":"https://api.github.com/repos/madawas/carbon-store/git/commits{/sha}","comments_url":"https://api.github.com/repos/madawas/carbon-store/comments{/number}","issue_comment_url":"https://api.github.com/repos/madawas/carbon-store/issues/comments{/number}","contents_url":"https://api.github.com/repos/madawas/carbon-store/contents/{+path}","compare_url":"https://api.github.com/repos/madawas/carbon-store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/madawas/carbon-store/merges","archive_url":"https://api.github.com/repos/madawas/carbon-store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/madawas/carbon-store/downloads","issues_url":"https://api.github.com/repos/madawas/carbon-store/issues{/number}","pulls_url":"https://api.github.com/repos/madawas/carbon-store/pulls{/number}","milestones_url":"https://api.github.com/repos/madawas/carbon-store/milestones{/number}","notifications_url":"https://api.github.com/repos/madawas/carbon-store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/madawas/carbon-store/labels{/name}","releases_url":"https://api.github.com/repos/madawas/carbon-store/releases{/id}","deployments_url":"https://api.github.com/repos/madawas/carbon-store/deployments","created_at":"2016-04-06T08:52:15Z","updated_at":"2016-04-06T08:52:19Z","pushed_at":"2016-09-27T06:26:58Z","git_url":"git://github.com/madawas/carbon-store.git","ssh_url":"git@github.com:madawas/carbon-store.git","clone_url":"https://github.com/madawas/carbon-store.git","svn_url":"https://github.com/madawas/carbon-store","homepage":null,"size":42893,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":0,"default_branch":"master"}},"base":{"label":"wso2:master","ref":"master","sha":"88817c3c1fe62a5de4de1d9a3f5d39b83a9abfaa","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":29664276,"name":"carbon-store","full_name":"wso2/carbon-store","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon-store","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon-store","forks_url":"https://api.github.com/repos/wso2/carbon-store/forks","keys_url":"https://api.github.com/repos/wso2/carbon-store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-store/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-store/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-store/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-store/events","assignees_url":"https://api.github.com/repos/wso2/carbon-store/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-store/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-store/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-store/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-store/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-store/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-store/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-store/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-store/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-store/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-store/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-store/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-store/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-store/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-store/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-store/merges","archive_url":"https://api.github.com/repos/wso2/carbon-store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-store/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-store/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-store/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-store/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-store/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-store/releases{/id}","deployments_url":"https://api.github.com/repos/wso2/carbon-store/deployments","created_at":"2015-01-22T06:23:33Z","updated_at":"2016-01-11T07:31:13Z","pushed_at":"2016-09-28T03:26:44Z","git_url":"git://github.com/wso2/carbon-store.git","ssh_url":"git@github.com:wso2/carbon-store.git","clone_url":"https://github.com/wso2/carbon-store.git","svn_url":"https://github.com/wso2/carbon-store","homepage":null,"size":44081,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":28,"forks":56,"open_issues":28,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-store/pulls/807"},"html":{"href":"https://github.com/wso2/carbon-store/pull/807"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-store/issues/807"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-store/issues/807/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-store/pulls/807/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-store/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-store/pulls/807/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-store/statuses/6fe1ed65758f492c9d025ff984bd593e35c04530"}}}}
{"actor":{"display_login":"splinter"}}