{"action":"created","issue":{"url":"https://api.github.com/repos/AgelxNash/SEOPagination/issues/4","labels_url":"https://api.github.com/repos/AgelxNash/SEOPagination/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/AgelxNash/SEOPagination/issues/4/comments","events_url":"https://api.github.com/repos/AgelxNash/SEOPagination/issues/4/events","html_url":"https://github.com/AgelxNash/SEOPagination/pull/4","id":102586396,"number":4,"title":"Add the \"url/?page1\" request to error cases","user":{"login":"Gael42","id":5319819,"avatar_url":"https://avatars.githubusercontent.com/u/5319819?v=3","gravatar_id":"","url":"https://api.github.com/users/Gael42","html_url":"https://github.com/Gael42","followers_url":"https://api.github.com/users/Gael42/followers","following_url":"https://api.github.com/users/Gael42/following{/other_user}","gists_url":"https://api.github.com/users/Gael42/gists{/gist_id}","starred_url":"https://api.github.com/users/Gael42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gael42/subscriptions","organizations_url":"https://api.github.com/users/Gael42/orgs","repos_url":"https://api.github.com/users/Gael42/repos","events_url":"https://api.github.com/users/Gael42/events{/privacy}","received_events_url":"https://api.github.com/users/Gael42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-23T04:24:10Z","updated_at":"2015-08-23T05:17:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AgelxNash/SEOPagination/pulls/4","html_url":"https://github.com/AgelxNash/SEOPagination/pull/4","diff_url":"https://github.com/AgelxNash/SEOPagination/pull/4.diff","patch_url":"https://github.com/AgelxNash/SEOPagination/pull/4.patch"},"body":"Add the \"url/?page=1\" request to error cases so that GET \"url/?page=1\" is redirected to url/\r\n\r\n( also thanks for sharing your work, that was just what i was looking for :-D )"},"comment":{"url":"https://api.github.com/repos/AgelxNash/SEOPagination/issues/comments/133783737","html_url":"https://github.com/AgelxNash/SEOPagination/pull/4#issuecomment-133783737","issue_url":"https://api.github.com/repos/AgelxNash/SEOPagination/issues/4","id":133783737,"user":{"login":"AgelxNash","id":1748872,"avatar_url":"https://avatars.githubusercontent.com/u/1748872?v=3","gravatar_id":"","url":"https://api.github.com/users/AgelxNash","html_url":"https://github.com/AgelxNash","followers_url":"https://api.github.com/users/AgelxNash/followers","following_url":"https://api.github.com/users/AgelxNash/following{/other_user}","gists_url":"https://api.github.com/users/AgelxNash/gists{/gist_id}","starred_url":"https://api.github.com/users/AgelxNash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgelxNash/subscriptions","organizations_url":"https://api.github.com/users/AgelxNash/orgs","repos_url":"https://api.github.com/users/AgelxNash/repos","events_url":"https://api.github.com/users/AgelxNash/events{/privacy}","received_events_url":"https://api.github.com/users/AgelxNash/received_events","type":"User","site_admin":false},"created_at":"2015-08-23T05:17:58Z","updated_at":"2015-08-23T05:17:58Z","body":"Yes, I agree. But I think it's not correct to `action_on_error = out`\r\nMaybe make a special provision for this case?\r\n\r\n```php\r\nif(1 == $cPage) $this->setActionOnError('first');\r\nif((1 == $request) || ($this->isEmpty() && 1!=$cPage) || (1==$cPage && !is_null($request) && (int)$request!=$cPage)){\r\n  /* switch action */\r\n}"}}