{"action":"created","issue":{"url":"https://api.github.com/repos/algolia/instantsearch.js/issues/668","labels_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/668/labels{/name}","comments_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/668/comments","events_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/668/events","html_url":"https://github.com/algolia/instantsearch.js/issues/668","id":117806842,"number":668,"title":"pagination: buggy first/previous/next/last logic","user":{"login":"pixelastic","id":283419,"avatar_url":"https://avatars.githubusercontent.com/u/283419?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelastic","html_url":"https://github.com/pixelastic","followers_url":"https://api.github.com/users/pixelastic/followers","following_url":"https://api.github.com/users/pixelastic/following{/other_user}","gists_url":"https://api.github.com/users/pixelastic/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelastic/subscriptions","organizations_url":"https://api.github.com/users/pixelastic/orgs","repos_url":"https://api.github.com/users/pixelastic/repos","events_url":"https://api.github.com/users/pixelastic/events{/privacy}","received_events_url":"https://api.github.com/users/pixelastic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-19T12:47:56Z","updated_at":"2015-11-19T13:13:26Z","closed_at":null,"body":"I feel like the logic used to hide/show the various previous/first/next/last links is buggy. Here are some screenshots:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/283419/11271018/a7396350-8ec3-11e5-8447-9bec6f94415a.png)\r\n^ I'm on the first page, everything is alright.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/283419/11271025/b2b4abb8-8ec3-11e5-846c-4ea1d8dd674a.png)\r\n^ I'm on the second page, I don't think the \"<<\" (first page) link is needed (redundant with \"<\" previous)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/283419/11271042/cc02a37c-8ec3-11e5-9191-16130d96d074.png)\r\n^ 4th page, everything is alright\r\n\r\n![image](https://cloud.githubusercontent.com/assets/283419/11271048/d47b6d18-8ec3-11e5-8749-520d2570f62f.png)\r\n^ 5th page, oops the 6th page link disappeared. And I have both next and last (last might be useless here, and related to #594)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/algolia/instantsearch.js/issues/comments/158053603","html_url":"https://github.com/algolia/instantsearch.js/issues/668#issuecomment-158053603","issue_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/668","id":158053603,"user":{"login":"pixelastic","id":283419,"avatar_url":"https://avatars.githubusercontent.com/u/283419?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelastic","html_url":"https://github.com/pixelastic","followers_url":"https://api.github.com/users/pixelastic/followers","following_url":"https://api.github.com/users/pixelastic/following{/other_user}","gists_url":"https://api.github.com/users/pixelastic/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelastic/subscriptions","organizations_url":"https://api.github.com/users/pixelastic/orgs","repos_url":"https://api.github.com/users/pixelastic/repos","events_url":"https://api.github.com/users/pixelastic/events{/privacy}","received_events_url":"https://api.github.com/users/pixelastic/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T13:13:25Z","updated_at":"2015-11-19T13:13:25Z","body":"Ok, let's keep this issue focused on the 6th page bug then. We'll have to discuss a bit more to see how we want to tackle the other pagination UI questions"}}