{"action":"created","comment":{"url":"https://api.github.com/repos/aces/Loris/pulls/comments/34169434","id":34169434,"diff_hunk":"@@ -0,0 +1,69 @@\n+//var PureRenderMixin = require('react/addons').addons.PureRenderMixin;\n+\n+PaginationLinks = React.createClass({\n+    mixins: [React.addons.PureRenderMixin],\n+    propTypes: {\n+        onChangePage: React.PropTypes.func,\n+        Total: React.PropTypes.number.isRequired\n+    },\n+    getDefaultProps: function() {\n+        return {\n+            'RowsPerPage' : 10,","path":"jsx/PaginationLinks.js","position":11,"original_position":11,"commit_id":"1feccece6a99ae1b0d0303fb3816cddc5a6f89aa","original_commit_id":"1feccece6a99ae1b0d0303fb3816cddc5a6f89aa","user":{"login":"taracampbell","id":5473436,"avatar_url":"https://avatars.githubusercontent.com/u/5473436?v=3","gravatar_id":"","url":"https://api.github.com/users/taracampbell","html_url":"https://github.com/taracampbell","followers_url":"https://api.github.com/users/taracampbell/followers","following_url":"https://api.github.com/users/taracampbell/following{/other_user}","gists_url":"https://api.github.com/users/taracampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/taracampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taracampbell/subscriptions","organizations_url":"https://api.github.com/users/taracampbell/orgs","repos_url":"https://api.github.com/users/taracampbell/repos","events_url":"https://api.github.com/users/taracampbell/events{/privacy}","received_events_url":"https://api.github.com/users/taracampbell/received_events","type":"User","site_admin":false},"body":"Rows per page is set in the config table. Can this grab the value from there?","created_at":"2015-07-08T16:41:57Z","updated_at":"2015-07-08T16:41:57Z","html_url":"https://github.com/aces/Loris/pull/1174#discussion_r34169434","pull_request_url":"https://api.github.com/repos/aces/Loris/pulls/1174","_links":{"self":{"href":"https://api.github.com/repos/aces/Loris/pulls/comments/34169434"},"html":{"href":"https://github.com/aces/Loris/pull/1174#discussion_r34169434"},"pull_request":{"href":"https://api.github.com/repos/aces/Loris/pulls/1174"}}},"pull_request":{"url":"https://api.github.com/repos/aces/Loris/pulls/1174","id":39496902,"html_url":"https://github.com/aces/Loris/pull/1174","diff_url":"https://github.com/aces/Loris/pull/1174.diff","patch_url":"https://github.com/aces/Loris/pull/1174.patch","issue_url":"https://api.github.com/repos/aces/Loris/issues/1174","number":1174,"state":"open","locked":false,"title":"Add React Library support","user":{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"body":"This adds the React.JS library to Loris, since there are a number of (unrelated) modules in development that will all be using it.\r\n\r\nAs a sample, it includes a PaginationLinks React component from the upcoming DQT module to render bootstrap pagination links, and switches the dicom_archive module over to this React component instead of the PHP Pager library. (This should eventually be done for all menu filters, so that we can remove our dependency on the PHP Pager library)","created_at":"2015-07-08T16:33:14Z","updated_at":"2015-07-08T16:41:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e729e7170b05830fb9467e98f8fabf388696793","assignee":{"login":"taracampbell","id":5473436,"avatar_url":"https://avatars.githubusercontent.com/u/5473436?v=3","gravatar_id":"","url":"https://api.github.com/users/taracampbell","html_url":"https://github.com/taracampbell","followers_url":"https://api.github.com/users/taracampbell/followers","following_url":"https://api.github.com/users/taracampbell/following{/other_user}","gists_url":"https://api.github.com/users/taracampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/taracampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taracampbell/subscriptions","organizations_url":"https://api.github.com/users/taracampbell/orgs","repos_url":"https://api.github.com/users/taracampbell/repos","events_url":"https://api.github.com/users/taracampbell/events{/privacy}","received_events_url":"https://api.github.com/users/taracampbell/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/aces/Loris/milestones/4","html_url":"https://github.com/aces/Loris/milestones/15.10","labels_url":"https://api.github.com/repos/aces/Loris/milestones/4/labels","id":1050783,"number":4,"title":"15.10","description":"The October Release of Loris.","creator":{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":16,"state":"open","created_at":"2015-04-02T18:31:49Z","updated_at":"2015-07-08T16:33:14Z","due_on":"2015-10-15T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/aces/Loris/pulls/1174/commits","review_comments_url":"https://api.github.com/repos/aces/Loris/pulls/1174/comments","review_comment_url":"https://api.github.com/repos/aces/Loris/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aces/Loris/issues/1174/comments","statuses_url":"https://api.github.com/repos/aces/Loris/statuses/1feccece6a99ae1b0d0303fb3816cddc5a6f89aa","head":{"label":"driusan:AddReactSupport","ref":"AddReactSupport","sha":"1feccece6a99ae1b0d0303fb3816cddc5a6f89aa","user":{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"repo":{"id":25378793,"name":"Loris","full_name":"driusan/Loris","owner":{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/driusan/Loris","description":"LORIS (Longitudinal Online Research and Imaging System) is a web-accessible database solution for neuroimaging.","fork":true,"url":"https://api.github.com/repos/driusan/Loris","forks_url":"https://api.github.com/repos/driusan/Loris/forks","keys_url":"https://api.github.com/repos/driusan/Loris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/driusan/Loris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/driusan/Loris/teams","hooks_url":"https://api.github.com/repos/driusan/Loris/hooks","issue_events_url":"https://api.github.com/repos/driusan/Loris/issues/events{/number}","events_url":"https://api.github.com/repos/driusan/Loris/events","assignees_url":"https://api.github.com/repos/driusan/Loris/assignees{/user}","branches_url":"https://api.github.com/repos/driusan/Loris/branches{/branch}","tags_url":"https://api.github.com/repos/driusan/Loris/tags","blobs_url":"https://api.github.com/repos/driusan/Loris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/driusan/Loris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/driusan/Loris/git/refs{/sha}","trees_url":"https://api.github.com/repos/driusan/Loris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/driusan/Loris/statuses/{sha}","languages_url":"https://api.github.com/repos/driusan/Loris/languages","stargazers_url":"https://api.github.com/repos/driusan/Loris/stargazers","contributors_url":"https://api.github.com/repos/driusan/Loris/contributors","subscribers_url":"https://api.github.com/repos/driusan/Loris/subscribers","subscription_url":"https://api.github.com/repos/driusan/Loris/subscription","commits_url":"https://api.github.com/repos/driusan/Loris/commits{/sha}","git_commits_url":"https://api.github.com/repos/driusan/Loris/git/commits{/sha}","comments_url":"https://api.github.com/repos/driusan/Loris/comments{/number}","issue_comment_url":"https://api.github.com/repos/driusan/Loris/issues/comments{/number}","contents_url":"https://api.github.com/repos/driusan/Loris/contents/{+path}","compare_url":"https://api.github.com/repos/driusan/Loris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/driusan/Loris/merges","archive_url":"https://api.github.com/repos/driusan/Loris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/driusan/Loris/downloads","issues_url":"https://api.github.com/repos/driusan/Loris/issues{/number}","pulls_url":"https://api.github.com/repos/driusan/Loris/pulls{/number}","milestones_url":"https://api.github.com/repos/driusan/Loris/milestones{/number}","notifications_url":"https://api.github.com/repos/driusan/Loris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/driusan/Loris/labels{/name}","releases_url":"https://api.github.com/repos/driusan/Loris/releases{/id}","created_at":"2014-10-17T21:57:06Z","updated_at":"2015-05-11T19:03:44Z","pushed_at":"2015-07-08T16:29:05Z","git_url":"git://github.com/driusan/Loris.git","ssh_url":"git@github.com:driusan/Loris.git","clone_url":"https://github.com/driusan/Loris.git","svn_url":"https://github.com/driusan/Loris","homepage":"","size":63209,"stargazers_count":0,"watchers_count":0,"language":"Smarty","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"aces:master","ref":"master","sha":"facb0789fbcbf46531755556bad51a55227ee640","user":{"login":"aces","id":472868,"avatar_url":"https://avatars.githubusercontent.com/u/472868?v=3","gravatar_id":"","url":"https://api.github.com/users/aces","html_url":"https://github.com/aces","followers_url":"https://api.github.com/users/aces/followers","following_url":"https://api.github.com/users/aces/following{/other_user}","gists_url":"https://api.github.com/users/aces/gists{/gist_id}","starred_url":"https://api.github.com/users/aces/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aces/subscriptions","organizations_url":"https://api.github.com/users/aces/orgs","repos_url":"https://api.github.com/users/aces/repos","events_url":"https://api.github.com/users/aces/events{/privacy}","received_events_url":"https://api.github.com/users/aces/received_events","type":"Organization","site_admin":false},"repo":{"id":1125630,"name":"Loris","full_name":"aces/Loris","owner":{"login":"aces","id":472868,"avatar_url":"https://avatars.githubusercontent.com/u/472868?v=3","gravatar_id":"","url":"https://api.github.com/users/aces","html_url":"https://github.com/aces","followers_url":"https://api.github.com/users/aces/followers","following_url":"https://api.github.com/users/aces/following{/other_user}","gists_url":"https://api.github.com/users/aces/gists{/gist_id}","starred_url":"https://api.github.com/users/aces/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aces/subscriptions","organizations_url":"https://api.github.com/users/aces/orgs","repos_url":"https://api.github.com/users/aces/repos","events_url":"https://api.github.com/users/aces/events{/privacy}","received_events_url":"https://api.github.com/users/aces/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aces/Loris","description":"LORIS is a web-accessible database solution for longitudinal multi-site studies.","fork":false,"url":"https://api.github.com/repos/aces/Loris","forks_url":"https://api.github.com/repos/aces/Loris/forks","keys_url":"https://api.github.com/repos/aces/Loris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aces/Loris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aces/Loris/teams","hooks_url":"https://api.github.com/repos/aces/Loris/hooks","issue_events_url":"https://api.github.com/repos/aces/Loris/issues/events{/number}","events_url":"https://api.github.com/repos/aces/Loris/events","assignees_url":"https://api.github.com/repos/aces/Loris/assignees{/user}","branches_url":"https://api.github.com/repos/aces/Loris/branches{/branch}","tags_url":"https://api.github.com/repos/aces/Loris/tags","blobs_url":"https://api.github.com/repos/aces/Loris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aces/Loris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aces/Loris/git/refs{/sha}","trees_url":"https://api.github.com/repos/aces/Loris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aces/Loris/statuses/{sha}","languages_url":"https://api.github.com/repos/aces/Loris/languages","stargazers_url":"https://api.github.com/repos/aces/Loris/stargazers","contributors_url":"https://api.github.com/repos/aces/Loris/contributors","subscribers_url":"https://api.github.com/repos/aces/Loris/subscribers","subscription_url":"https://api.github.com/repos/aces/Loris/subscription","commits_url":"https://api.github.com/repos/aces/Loris/commits{/sha}","git_commits_url":"https://api.github.com/repos/aces/Loris/git/commits{/sha}","comments_url":"https://api.github.com/repos/aces/Loris/comments{/number}","issue_comment_url":"https://api.github.com/repos/aces/Loris/issues/comments{/number}","contents_url":"https://api.github.com/repos/aces/Loris/contents/{+path}","compare_url":"https://api.github.com/repos/aces/Loris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aces/Loris/merges","archive_url":"https://api.github.com/repos/aces/Loris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aces/Loris/downloads","issues_url":"https://api.github.com/repos/aces/Loris/issues{/number}","pulls_url":"https://api.github.com/repos/aces/Loris/pulls{/number}","milestones_url":"https://api.github.com/repos/aces/Loris/milestones{/number}","notifications_url":"https://api.github.com/repos/aces/Loris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aces/Loris/labels{/name}","releases_url":"https://api.github.com/repos/aces/Loris/releases{/id}","created_at":"2010-11-30T14:57:57Z","updated_at":"2015-06-05T17:59:10Z","pushed_at":"2015-07-08T16:33:15Z","git_url":"git://github.com/aces/Loris.git","ssh_url":"git@github.com:aces/Loris.git","clone_url":"https://github.com/aces/Loris.git","svn_url":"https://github.com/aces/Loris","homepage":"","size":67833,"stargazers_count":24,"watchers_count":24,"language":"Smarty","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":36,"forks":36,"open_issues":36,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aces/Loris/pulls/1174"},"html":{"href":"https://github.com/aces/Loris/pull/1174"},"issue":{"href":"https://api.github.com/repos/aces/Loris/issues/1174"},"comments":{"href":"https://api.github.com/repos/aces/Loris/issues/1174/comments"},"review_comments":{"href":"https://api.github.com/repos/aces/Loris/pulls/1174/comments"},"review_comment":{"href":"https://api.github.com/repos/aces/Loris/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aces/Loris/pulls/1174/commits"},"statuses":{"href":"https://api.github.com/repos/aces/Loris/statuses/1feccece6a99ae1b0d0303fb3816cddc5a6f89aa"}}}}