{"action":"created","comment":{"url":"https://api.github.com/repos/SonarSource/sonarqube/pulls/comments/30798729","id":30798729,"diff_hunk":"@@ -0,0 +1,40 @@\n+define([\n+  './user'\n+], function (User) {\n+\n+  return Backbone.Collection.extend({\n+    model: User,\n+\n+    url: function () {\n+      return baseUrl + '/api/users/search';\n+    },\n+\n+    parse: function (r) {\n+      this.total = +r.total;","path":"server/sonar-web/src/main/js/apps/users/users.js","position":13,"original_position":13,"commit_id":"c3a011df776427208a24b5620f51ffbcd9752fc9","original_commit_id":"c3a011df776427208a24b5620f51ffbcd9752fc9","user":{"login":"stas-vilchik","id":2317341,"avatar_url":"https://avatars.githubusercontent.com/u/2317341?v=3","gravatar_id":"","url":"https://api.github.com/users/stas-vilchik","html_url":"https://github.com/stas-vilchik","followers_url":"https://api.github.com/users/stas-vilchik/followers","following_url":"https://api.github.com/users/stas-vilchik/following{/other_user}","gists_url":"https://api.github.com/users/stas-vilchik/gists{/gist_id}","starred_url":"https://api.github.com/users/stas-vilchik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stas-vilchik/subscriptions","organizations_url":"https://api.github.com/users/stas-vilchik/orgs","repos_url":"https://api.github.com/users/stas-vilchik/repos","events_url":"https://api.github.com/users/stas-vilchik/events{/privacy}","received_events_url":"https://api.github.com/users/stas-vilchik/received_events","type":"User","site_admin":false},"body":"to cast value to a number (I do some arithmetic with the value further)","created_at":"2015-05-21T12:59:43Z","updated_at":"2015-05-21T12:59:43Z","html_url":"https://github.com/SonarSource/sonarqube/pull/317#discussion_r30798729","pull_request_url":"https://api.github.com/repos/SonarSource/sonarqube/pulls/317","_links":{"self":{"href":"https://api.github.com/repos/SonarSource/sonarqube/pulls/comments/30798729"},"html":{"href":"https://github.com/SonarSource/sonarqube/pull/317#discussion_r30798729"},"pull_request":{"href":"https://api.github.com/repos/SonarSource/sonarqube/pulls/317"}}},"pull_request":{"url":"https://api.github.com/repos/SonarSource/sonarqube/pulls/317","id":35904729,"html_url":"https://github.com/SonarSource/sonarqube/pull/317","diff_url":"https://github.com/SonarSource/sonarqube/pull/317.diff","patch_url":"https://github.com/SonarSource/sonarqube/pull/317.patch","issue_url":"https://api.github.com/repos/SonarSource/sonarqube/issues/317","number":317,"state":"open","locked":false,"title":"SONAR-6565 refactor users page","user":{"login":"stas-vilchik","id":2317341,"avatar_url":"https://avatars.githubusercontent.com/u/2317341?v=3","gravatar_id":"","url":"https://api.github.com/users/stas-vilchik","html_url":"https://github.com/stas-vilchik","followers_url":"https://api.github.com/users/stas-vilchik/followers","following_url":"https://api.github.com/users/stas-vilchik/following{/other_user}","gists_url":"https://api.github.com/users/stas-vilchik/gists{/gist_id}","starred_url":"https://api.github.com/users/stas-vilchik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stas-vilchik/subscriptions","organizations_url":"https://api.github.com/users/stas-vilchik/orgs","repos_url":"https://api.github.com/users/stas-vilchik/repos","events_url":"https://api.github.com/users/stas-vilchik/events{/privacy}","received_events_url":"https://api.github.com/users/stas-vilchik/received_events","type":"User","site_admin":false},"body":"*Note: This is a long-life PR.*","created_at":"2015-05-21T06:56:38Z","updated_at":"2015-05-21T12:59:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd5b34a91c3e314bbb76e0f39ee8e9cd0891174f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SonarSource/sonarqube/pulls/317/commits","review_comments_url":"https://api.github.com/repos/SonarSource/sonarqube/pulls/317/comments","review_comment_url":"https://api.github.com/repos/SonarSource/sonarqube/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SonarSource/sonarqube/issues/317/comments","statuses_url":"https://api.github.com/repos/SonarSource/sonarqube/statuses/c3a011df776427208a24b5620f51ffbcd9752fc9","head":{"label":"SonarSource:feature/server/users","ref":"feature/server/users","sha":"c3a011df776427208a24b5620f51ffbcd9752fc9","user":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars.githubusercontent.com/u/545988?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"repo":{"id":1222504,"name":"sonarqube","full_name":"SonarSource/sonarqube","owner":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars.githubusercontent.com/u/545988?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarSource/sonarqube","description":"Put your technical debt under control","fork":false,"url":"https://api.github.com/repos/SonarSource/sonarqube","forks_url":"https://api.github.com/repos/SonarSource/sonarqube/forks","keys_url":"https://api.github.com/repos/SonarSource/sonarqube/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarSource/sonarqube/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarSource/sonarqube/teams","hooks_url":"https://api.github.com/repos/SonarSource/sonarqube/hooks","issue_events_url":"https://api.github.com/repos/SonarSource/sonarqube/issues/events{/number}","events_url":"https://api.github.com/repos/SonarSource/sonarqube/events","assignees_url":"https://api.github.com/repos/SonarSource/sonarqube/assignees{/user}","branches_url":"https://api.github.com/repos/SonarSource/sonarqube/branches{/branch}","tags_url":"https://api.github.com/repos/SonarSource/sonarqube/tags","blobs_url":"https://api.github.com/repos/SonarSource/sonarqube/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarSource/sonarqube/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarSource/sonarqube/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarSource/sonarqube/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarSource/sonarqube/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarSource/sonarqube/languages","stargazers_url":"https://api.github.com/repos/SonarSource/sonarqube/stargazers","contributors_url":"https://api.github.com/repos/SonarSource/sonarqube/contributors","subscribers_url":"https://api.github.com/repos/SonarSource/sonarqube/subscribers","subscription_url":"https://api.github.com/repos/SonarSource/sonarqube/subscription","commits_url":"https://api.github.com/repos/SonarSource/sonarqube/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarSource/sonarqube/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarSource/sonarqube/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarSource/sonarqube/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarSource/sonarqube/contents/{+path}","compare_url":"https://api.github.com/repos/SonarSource/sonarqube/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarSource/sonarqube/merges","archive_url":"https://api.github.com/repos/SonarSource/sonarqube/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarSource/sonarqube/downloads","issues_url":"https://api.github.com/repos/SonarSource/sonarqube/issues{/number}","pulls_url":"https://api.github.com/repos/SonarSource/sonarqube/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarSource/sonarqube/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarSource/sonarqube/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarSource/sonarqube/labels{/name}","releases_url":"https://api.github.com/repos/SonarSource/sonarqube/releases{/id}","created_at":"2011-01-05T11:05:17Z","updated_at":"2015-05-21T07:37:27Z","pushed_at":"2015-05-21T12:30:30Z","git_url":"git://github.com/SonarSource/sonarqube.git","ssh_url":"git@github.com:SonarSource/sonarqube.git","clone_url":"https://github.com/SonarSource/sonarqube.git","svn_url":"https://github.com/SonarSource/sonarqube","homepage":"http://www.sonarqube.org","size":683297,"stargazers_count":614,"watchers_count":614,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":337,"mirror_url":null,"open_issues_count":8,"forks":337,"open_issues":8,"watchers":614,"default_branch":"master"}},"base":{"label":"SonarSource:master","ref":"master","sha":"93afcd63599ffaf431ec7cc9d513cc175db97324","user":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars.githubusercontent.com/u/545988?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"repo":{"id":1222504,"name":"sonarqube","full_name":"SonarSource/sonarqube","owner":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars.githubusercontent.com/u/545988?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarSource/sonarqube","description":"Put your technical debt under control","fork":false,"url":"https://api.github.com/repos/SonarSource/sonarqube","forks_url":"https://api.github.com/repos/SonarSource/sonarqube/forks","keys_url":"https://api.github.com/repos/SonarSource/sonarqube/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarSource/sonarqube/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarSource/sonarqube/teams","hooks_url":"https://api.github.com/repos/SonarSource/sonarqube/hooks","issue_events_url":"https://api.github.com/repos/SonarSource/sonarqube/issues/events{/number}","events_url":"https://api.github.com/repos/SonarSource/sonarqube/events","assignees_url":"https://api.github.com/repos/SonarSource/sonarqube/assignees{/user}","branches_url":"https://api.github.com/repos/SonarSource/sonarqube/branches{/branch}","tags_url":"https://api.github.com/repos/SonarSource/sonarqube/tags","blobs_url":"https://api.github.com/repos/SonarSource/sonarqube/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarSource/sonarqube/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarSource/sonarqube/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarSource/sonarqube/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarSource/sonarqube/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarSource/sonarqube/languages","stargazers_url":"https://api.github.com/repos/SonarSource/sonarqube/stargazers","contributors_url":"https://api.github.com/repos/SonarSource/sonarqube/contributors","subscribers_url":"https://api.github.com/repos/SonarSource/sonarqube/subscribers","subscription_url":"https://api.github.com/repos/SonarSource/sonarqube/subscription","commits_url":"https://api.github.com/repos/SonarSource/sonarqube/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarSource/sonarqube/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarSource/sonarqube/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarSource/sonarqube/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarSource/sonarqube/contents/{+path}","compare_url":"https://api.github.com/repos/SonarSource/sonarqube/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarSource/sonarqube/merges","archive_url":"https://api.github.com/repos/SonarSource/sonarqube/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarSource/sonarqube/downloads","issues_url":"https://api.github.com/repos/SonarSource/sonarqube/issues{/number}","pulls_url":"https://api.github.com/repos/SonarSource/sonarqube/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarSource/sonarqube/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarSource/sonarqube/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarSource/sonarqube/labels{/name}","releases_url":"https://api.github.com/repos/SonarSource/sonarqube/releases{/id}","created_at":"2011-01-05T11:05:17Z","updated_at":"2015-05-21T07:37:27Z","pushed_at":"2015-05-21T12:30:30Z","git_url":"git://github.com/SonarSource/sonarqube.git","ssh_url":"git@github.com:SonarSource/sonarqube.git","clone_url":"https://github.com/SonarSource/sonarqube.git","svn_url":"https://github.com/SonarSource/sonarqube","homepage":"http://www.sonarqube.org","size":683297,"stargazers_count":614,"watchers_count":614,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":337,"mirror_url":null,"open_issues_count":8,"forks":337,"open_issues":8,"watchers":614,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SonarSource/sonarqube/pulls/317"},"html":{"href":"https://github.com/SonarSource/sonarqube/pull/317"},"issue":{"href":"https://api.github.com/repos/SonarSource/sonarqube/issues/317"},"comments":{"href":"https://api.github.com/repos/SonarSource/sonarqube/issues/317/comments"},"review_comments":{"href":"https://api.github.com/repos/SonarSource/sonarqube/pulls/317/comments"},"review_comment":{"href":"https://api.github.com/repos/SonarSource/sonarqube/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SonarSource/sonarqube/pulls/317/commits"},"statuses":{"href":"https://api.github.com/repos/SonarSource/sonarqube/statuses/c3a011df776427208a24b5620f51ffbcd9752fc9"}}}}