{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-store/pulls/comments/76013264","id":76013264,"diff_hunk":"@@ -0,0 +1,261 @@\n+$(function() {\n+    var updateFilters = function (url){\n+        var queryArray = url.split(\"=\")[1].split(\",\");\n+        var queryObjArray = [];\n+        if(queryArray.length > 0){\n+            for(var index in queryArray){\n+                var obj = queryArray[index];\n+                var queryObj = {};\n+                var queryObjValue = [];\n+                queryObj.queryKey = obj.split(\":\")[0].split('\\\"').join('');\n+                if(obj.indexOf(\"(\") > -1){\n+                    var newObj = obj.split(\":\")[1].split('\\\"').join('').replace(\"(\", \"\").replace(\")\", \"\");\n+                    queryObjValue = newObj.split(\"OR\");\n+                } else {\n+                    if(obj.indexOf(\":\") > -1){\n+                        queryObjValue.push(obj.split(\":\")[1].split('\\\"').join(''));\n+                    }\n+                }\n+                queryObj.queryValue = queryObjValue;\n+                queryObjArray.push(queryObj);\n+            }\n+\n+\n+            for(var i in queryObjArray){\n+                $('#categorization :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') == queryObjArray[i].queryValue[k].trim()){","path":"apps/store/themes/store/js/categorization.js","position":29,"original_position":29,"commit_id":"e6d5f1bb3a541590912986ab6fac6e2c4fe12fcc","original_commit_id":"e6d5f1bb3a541590912986ab6fac6e2c4fe12fcc","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":"Code Formatting issue","created_at":"2016-08-24T08:24:18Z","updated_at":"2016-08-24T08:24:18Z","html_url":"https://github.com/wso2/carbon-store/pull/471#discussion_r76013264","pull_request_url":"https://api.github.com/repos/wso2/carbon-store/pulls/471","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-store/pulls/comments/76013264"},"html":{"href":"https://github.com/wso2/carbon-store/pull/471#discussion_r76013264"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-store/pulls/471"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-store/pulls/471","id":65970239,"html_url":"https://github.com/wso2/carbon-store/pull/471","diff_url":"https://github.com/wso2/carbon-store/pull/471.diff","patch_url":"https://github.com/wso2/carbon-store/pull/471.patch","issue_url":"https://api.github.com/repos/wso2/carbon-store/issues/471","number":471,"state":"closed","locked":false,"title":"Category feature 2.4.0","user":{"login":"mushthaq33","id":15009816,"avatar_url":"https://avatars.githubusercontent.com/u/15009816?v=3","gravatar_id":"","url":"https://api.github.com/users/mushthaq33","html_url":"https://github.com/mushthaq33","followers_url":"https://api.github.com/users/mushthaq33/followers","following_url":"https://api.github.com/users/mushthaq33/following{/other_user}","gists_url":"https://api.github.com/users/mushthaq33/gists{/gist_id}","starred_url":"https://api.github.com/users/mushthaq33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mushthaq33/subscriptions","organizations_url":"https://api.github.com/users/mushthaq33/orgs","repos_url":"https://api.github.com/users/mushthaq33/repos","events_url":"https://api.github.com/users/mushthaq33/events{/privacy}","received_events_url":"https://api.github.com/users/mushthaq33/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-11T10:20:38Z","updated_at":"2016-08-24T08:24:18Z","closed_at":"2016-04-11T10:47:17Z","merged_at":"2016-04-11T10:47:17Z","merge_commit_sha":"95990a9af4cab8319e51eb0ddaa1a9783ef55602","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-store/pulls/471/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-store/pulls/471/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/471/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-store/statuses/e6d5f1bb3a541590912986ab6fac6e2c4fe12fcc","head":{"label":"mushthaq33:category-feature-2.4.0","ref":"category-feature-2.4.0","sha":"e6d5f1bb3a541590912986ab6fac6e2c4fe12fcc","user":{"login":"mushthaq33","id":15009816,"avatar_url":"https://avatars.githubusercontent.com/u/15009816?v=3","gravatar_id":"","url":"https://api.github.com/users/mushthaq33","html_url":"https://github.com/mushthaq33","followers_url":"https://api.github.com/users/mushthaq33/followers","following_url":"https://api.github.com/users/mushthaq33/following{/other_user}","gists_url":"https://api.github.com/users/mushthaq33/gists{/gist_id}","starred_url":"https://api.github.com/users/mushthaq33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mushthaq33/subscriptions","organizations_url":"https://api.github.com/users/mushthaq33/orgs","repos_url":"https://api.github.com/users/mushthaq33/repos","events_url":"https://api.github.com/users/mushthaq33/events{/privacy}","received_events_url":"https://api.github.com/users/mushthaq33/received_events","type":"User","site_admin":false},"repo":{"id":44153561,"name":"carbon-store","full_name":"mushthaq33/carbon-store","owner":{"login":"mushthaq33","id":15009816,"avatar_url":"https://avatars.githubusercontent.com/u/15009816?v=3","gravatar_id":"","url":"https://api.github.com/users/mushthaq33","html_url":"https://github.com/mushthaq33","followers_url":"https://api.github.com/users/mushthaq33/followers","following_url":"https://api.github.com/users/mushthaq33/following{/other_user}","gists_url":"https://api.github.com/users/mushthaq33/gists{/gist_id}","starred_url":"https://api.github.com/users/mushthaq33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mushthaq33/subscriptions","organizations_url":"https://api.github.com/users/mushthaq33/orgs","repos_url":"https://api.github.com/users/mushthaq33/repos","events_url":"https://api.github.com/users/mushthaq33/events{/privacy}","received_events_url":"https://api.github.com/users/mushthaq33/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mushthaq33/carbon-store","description":"","fork":true,"url":"https://api.github.com/repos/mushthaq33/carbon-store","forks_url":"https://api.github.com/repos/mushthaq33/carbon-store/forks","keys_url":"https://api.github.com/repos/mushthaq33/carbon-store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mushthaq33/carbon-store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mushthaq33/carbon-store/teams","hooks_url":"https://api.github.com/repos/mushthaq33/carbon-store/hooks","issue_events_url":"https://api.github.com/repos/mushthaq33/carbon-store/issues/events{/number}","events_url":"https://api.github.com/repos/mushthaq33/carbon-store/events","assignees_url":"https://api.github.com/repos/mushthaq33/carbon-store/assignees{/user}","branches_url":"https://api.github.com/repos/mushthaq33/carbon-store/branches{/branch}","tags_url":"https://api.github.com/repos/mushthaq33/carbon-store/tags","blobs_url":"https://api.github.com/repos/mushthaq33/carbon-store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mushthaq33/carbon-store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mushthaq33/carbon-store/git/refs{/sha}","trees_url":"https://api.github.com/repos/mushthaq33/carbon-store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mushthaq33/carbon-store/statuses/{sha}","languages_url":"https://api.github.com/repos/mushthaq33/carbon-store/languages","stargazers_url":"https://api.github.com/repos/mushthaq33/carbon-store/stargazers","contributors_url":"https://api.github.com/repos/mushthaq33/carbon-store/contributors","subscribers_url":"https://api.github.com/repos/mushthaq33/carbon-store/subscribers","subscription_url":"https://api.github.com/repos/mushthaq33/carbon-store/subscription","commits_url":"https://api.github.com/repos/mushthaq33/carbon-store/commits{/sha}","git_commits_url":"https://api.github.com/repos/mushthaq33/carbon-store/git/commits{/sha}","comments_url":"https://api.github.com/repos/mushthaq33/carbon-store/comments{/number}","issue_comment_url":"https://api.github.com/repos/mushthaq33/carbon-store/issues/comments{/number}","contents_url":"https://api.github.com/repos/mushthaq33/carbon-store/contents/{+path}","compare_url":"https://api.github.com/repos/mushthaq33/carbon-store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mushthaq33/carbon-store/merges","archive_url":"https://api.github.com/repos/mushthaq33/carbon-store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mushthaq33/carbon-store/downloads","issues_url":"https://api.github.com/repos/mushthaq33/carbon-store/issues{/number}","pulls_url":"https://api.github.com/repos/mushthaq33/carbon-store/pulls{/number}","milestones_url":"https://api.github.com/repos/mushthaq33/carbon-store/milestones{/number}","notifications_url":"https://api.github.com/repos/mushthaq33/carbon-store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mushthaq33/carbon-store/labels{/name}","releases_url":"https://api.github.com/repos/mushthaq33/carbon-store/releases{/id}","deployments_url":"https://api.github.com/repos/mushthaq33/carbon-store/deployments","created_at":"2015-10-13T05:16:02Z","updated_at":"2015-10-13T05:16:07Z","pushed_at":"2016-08-23T13:03:20Z","git_url":"git://github.com/mushthaq33/carbon-store.git","ssh_url":"git@github.com:mushthaq33/carbon-store.git","clone_url":"https://github.com/mushthaq33/carbon-store.git","svn_url":"https://github.com/mushthaq33/carbon-store","homepage":null,"size":42796,"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:2.4.0","ref":"2.4.0","sha":"017765d91609186dafcc3577786bb859655fdd88","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-08-23T13:03:20Z","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":43992,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":23,"forks":55,"open_issues":23,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-store/pulls/471"},"html":{"href":"https://github.com/wso2/carbon-store/pull/471"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-store/issues/471"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-store/issues/471/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-store/pulls/471/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/471/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-store/statuses/e6d5f1bb3a541590912986ab6fac6e2c4fe12fcc"}}}}
{"actor":{"display_login":"splinter"}}