{"action":"created","comment":{"url":"https://api.github.com/repos/algolia/instantsearch.js/pulls/comments/92354187","pull_request_review_id":12866551,"id":92354187,"diff_hunk":"@@ -66,7 +66,7 @@ export default createConnector({\n     const id = getId();\n     const nextPage = searchState[id] ?\n       Number(searchState[id]) + 1 :\n-      1;\n+      0;","path":"packages/react-instantsearch/src/connectors/connectInfiniteHits.js","position":5,"original_position":5,"commit_id":"b24e78cf7334cfffea9537ae8a17ee9507243bd3","original_commit_id":"b24e78cf7334cfffea9537ae8a17ee9507243bd3","user":{"login":"Kikobeats","id":2096101,"avatar_url":"https://avatars.githubusercontent.com/u/2096101?v=3","gravatar_id":"","url":"https://api.github.com/users/Kikobeats","html_url":"https://github.com/Kikobeats","followers_url":"https://api.github.com/users/Kikobeats/followers","following_url":"https://api.github.com/users/Kikobeats/following{/other_user}","gists_url":"https://api.github.com/users/Kikobeats/gists{/gist_id}","starred_url":"https://api.github.com/users/Kikobeats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kikobeats/subscriptions","organizations_url":"https://api.github.com/users/Kikobeats/orgs","repos_url":"https://api.github.com/users/Kikobeats/repos","events_url":"https://api.github.com/users/Kikobeats/events{/privacy}","received_events_url":"https://api.github.com/users/Kikobeats/received_events","type":"User","site_admin":false},"body":"I'm agree, this is a monkey patch, but looks a problem related with what index is considered as first index","created_at":"2016-12-14T09:45:41Z","updated_at":"2016-12-14T09:45:41Z","html_url":"https://github.com/algolia/instantsearch.js/pull/1745#discussion_r92354187","pull_request_url":"https://api.github.com/repos/algolia/instantsearch.js/pulls/1745","_links":{"self":{"href":"https://api.github.com/repos/algolia/instantsearch.js/pulls/comments/92354187"},"html":{"href":"https://github.com/algolia/instantsearch.js/pull/1745#discussion_r92354187"},"pull_request":{"href":"https://api.github.com/repos/algolia/instantsearch.js/pulls/1745"}}},"pull_request":{"url":"https://api.github.com/repos/algolia/instantsearch.js/pulls/1745","id":97862079,"html_url":"https://github.com/algolia/instantsearch.js/pull/1745","diff_url":"https://github.com/algolia/instantsearch.js/pull/1745.diff","patch_url":"https://github.com/algolia/instantsearch.js/pull/1745.patch","issue_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/1745","number":1745,"state":"open","locked":false,"title":"connectInfiniteHits: Fix fetch the first page","user":{"login":"Kikobeats","id":2096101,"avatar_url":"https://avatars.githubusercontent.com/u/2096101?v=3","gravatar_id":"","url":"https://api.github.com/users/Kikobeats","html_url":"https://github.com/Kikobeats","followers_url":"https://api.github.com/users/Kikobeats/followers","following_url":"https://api.github.com/users/Kikobeats/following{/other_user}","gists_url":"https://api.github.com/users/Kikobeats/gists{/gist_id}","starred_url":"https://api.github.com/users/Kikobeats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kikobeats/subscriptions","organizations_url":"https://api.github.com/users/Kikobeats/orgs","repos_url":"https://api.github.com/users/Kikobeats/repos","events_url":"https://api.github.com/users/Kikobeats/events{/privacy}","received_events_url":"https://api.github.com/users/Kikobeats/received_events","type":"User","site_admin":false},"body":"Because first page index is 0","created_at":"2016-12-14T00:03:23Z","updated_at":"2016-12-14T09:45:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d12e254fa7919f0dbb46f0bb252357d857e5839a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/algolia/instantsearch.js/pulls/1745/commits","review_comments_url":"https://api.github.com/repos/algolia/instantsearch.js/pulls/1745/comments","review_comment_url":"https://api.github.com/repos/algolia/instantsearch.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/1745/comments","statuses_url":"https://api.github.com/repos/algolia/instantsearch.js/statuses/b24e78cf7334cfffea9537ae8a17ee9507243bd3","head":{"label":"Kikobeats:patch-1","ref":"patch-1","sha":"b24e78cf7334cfffea9537ae8a17ee9507243bd3","user":{"login":"Kikobeats","id":2096101,"avatar_url":"https://avatars.githubusercontent.com/u/2096101?v=3","gravatar_id":"","url":"https://api.github.com/users/Kikobeats","html_url":"https://github.com/Kikobeats","followers_url":"https://api.github.com/users/Kikobeats/followers","following_url":"https://api.github.com/users/Kikobeats/following{/other_user}","gists_url":"https://api.github.com/users/Kikobeats/gists{/gist_id}","starred_url":"https://api.github.com/users/Kikobeats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kikobeats/subscriptions","organizations_url":"https://api.github.com/users/Kikobeats/orgs","repos_url":"https://api.github.com/users/Kikobeats/repos","events_url":"https://api.github.com/users/Kikobeats/events{/privacy}","received_events_url":"https://api.github.com/users/Kikobeats/received_events","type":"User","site_admin":false},"repo":{"id":69789284,"name":"instantsearch.js","full_name":"Kikobeats/instantsearch.js","owner":{"login":"Kikobeats","id":2096101,"avatar_url":"https://avatars.githubusercontent.com/u/2096101?v=3","gravatar_id":"","url":"https://api.github.com/users/Kikobeats","html_url":"https://github.com/Kikobeats","followers_url":"https://api.github.com/users/Kikobeats/followers","following_url":"https://api.github.com/users/Kikobeats/following{/other_user}","gists_url":"https://api.github.com/users/Kikobeats/gists{/gist_id}","starred_url":"https://api.github.com/users/Kikobeats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kikobeats/subscriptions","organizations_url":"https://api.github.com/users/Kikobeats/orgs","repos_url":"https://api.github.com/users/Kikobeats/repos","events_url":"https://api.github.com/users/Kikobeats/events{/privacy}","received_events_url":"https://api.github.com/users/Kikobeats/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kikobeats/instantsearch.js","description":":zap: UI library for high performance instant search experiences using Algolia","fork":true,"url":"https://api.github.com/repos/Kikobeats/instantsearch.js","forks_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/forks","keys_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/teams","hooks_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/hooks","issue_events_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/issues/events{/number}","events_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/events","assignees_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/assignees{/user}","branches_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/branches{/branch}","tags_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/tags","blobs_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/statuses/{sha}","languages_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/languages","stargazers_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/stargazers","contributors_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/contributors","subscribers_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/subscribers","subscription_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/subscription","commits_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/contents/{+path}","compare_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/merges","archive_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/downloads","issues_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/issues{/number}","pulls_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/pulls{/number}","milestones_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/milestones{/number}","notifications_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/labels{/name}","releases_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/releases{/id}","deployments_url":"https://api.github.com/repos/Kikobeats/instantsearch.js/deployments","created_at":"2016-10-02T09:33:51Z","updated_at":"2016-10-02T09:33:53Z","pushed_at":"2016-12-14T00:02:43Z","git_url":"git://github.com/Kikobeats/instantsearch.js.git","ssh_url":"git@github.com:Kikobeats/instantsearch.js.git","clone_url":"https://github.com/Kikobeats/instantsearch.js.git","svn_url":"https://github.com/Kikobeats/instantsearch.js","homepage":"https://community.algolia.com/instantsearch.js/","size":23810,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"develop"}},"base":{"label":"algolia:v2","ref":"v2","sha":"bc76618922cf17188b6a086d197b26eb1a06bf5a","user":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"repo":{"id":39443258,"name":"instantsearch.js","full_name":"algolia/instantsearch.js","owner":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/algolia/instantsearch.js","description":":zap: Boost search on your website with Algolia","fork":false,"url":"https://api.github.com/repos/algolia/instantsearch.js","forks_url":"https://api.github.com/repos/algolia/instantsearch.js/forks","keys_url":"https://api.github.com/repos/algolia/instantsearch.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algolia/instantsearch.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algolia/instantsearch.js/teams","hooks_url":"https://api.github.com/repos/algolia/instantsearch.js/hooks","issue_events_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/events{/number}","events_url":"https://api.github.com/repos/algolia/instantsearch.js/events","assignees_url":"https://api.github.com/repos/algolia/instantsearch.js/assignees{/user}","branches_url":"https://api.github.com/repos/algolia/instantsearch.js/branches{/branch}","tags_url":"https://api.github.com/repos/algolia/instantsearch.js/tags","blobs_url":"https://api.github.com/repos/algolia/instantsearch.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algolia/instantsearch.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algolia/instantsearch.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/algolia/instantsearch.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algolia/instantsearch.js/statuses/{sha}","languages_url":"https://api.github.com/repos/algolia/instantsearch.js/languages","stargazers_url":"https://api.github.com/repos/algolia/instantsearch.js/stargazers","contributors_url":"https://api.github.com/repos/algolia/instantsearch.js/contributors","subscribers_url":"https://api.github.com/repos/algolia/instantsearch.js/subscribers","subscription_url":"https://api.github.com/repos/algolia/instantsearch.js/subscription","commits_url":"https://api.github.com/repos/algolia/instantsearch.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/algolia/instantsearch.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/algolia/instantsearch.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/algolia/instantsearch.js/contents/{+path}","compare_url":"https://api.github.com/repos/algolia/instantsearch.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algolia/instantsearch.js/merges","archive_url":"https://api.github.com/repos/algolia/instantsearch.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algolia/instantsearch.js/downloads","issues_url":"https://api.github.com/repos/algolia/instantsearch.js/issues{/number}","pulls_url":"https://api.github.com/repos/algolia/instantsearch.js/pulls{/number}","milestones_url":"https://api.github.com/repos/algolia/instantsearch.js/milestones{/number}","notifications_url":"https://api.github.com/repos/algolia/instantsearch.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algolia/instantsearch.js/labels{/name}","releases_url":"https://api.github.com/repos/algolia/instantsearch.js/releases{/id}","deployments_url":"https://api.github.com/repos/algolia/instantsearch.js/deployments","created_at":"2015-07-21T12:10:27Z","updated_at":"2016-12-13T22:51:31Z","pushed_at":"2016-12-14T09:22:32Z","git_url":"git://github.com/algolia/instantsearch.js.git","ssh_url":"git@github.com:algolia/instantsearch.js.git","clone_url":"https://github.com/algolia/instantsearch.js.git","svn_url":"https://github.com/algolia/instantsearch.js","homepage":"https://community.algolia.com/instantsearch.js/","size":41417,"stargazers_count":1297,"watchers_count":1297,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":145,"mirror_url":null,"open_issues_count":81,"forks":145,"open_issues":81,"watchers":1297,"default_branch":"v2"}},"_links":{"self":{"href":"https://api.github.com/repos/algolia/instantsearch.js/pulls/1745"},"html":{"href":"https://github.com/algolia/instantsearch.js/pull/1745"},"issue":{"href":"https://api.github.com/repos/algolia/instantsearch.js/issues/1745"},"comments":{"href":"https://api.github.com/repos/algolia/instantsearch.js/issues/1745/comments"},"review_comments":{"href":"https://api.github.com/repos/algolia/instantsearch.js/pulls/1745/comments"},"review_comment":{"href":"https://api.github.com/repos/algolia/instantsearch.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/algolia/instantsearch.js/pulls/1745/commits"},"statuses":{"href":"https://api.github.com/repos/algolia/instantsearch.js/statuses/b24e78cf7334cfffea9537ae8a17ee9507243bd3"}}}}
{"actor":{"display_login":"Kikobeats"}}