{"action":"created","issue":{"url":"https://api.github.com/repos/nicolaiarocci/eve/issues/544","labels_url":"https://api.github.com/repos/nicolaiarocci/eve/issues/544/labels{/name}","comments_url":"https://api.github.com/repos/nicolaiarocci/eve/issues/544/comments","events_url":"https://api.github.com/repos/nicolaiarocci/eve/issues/544/events","html_url":"https://github.com/nicolaiarocci/eve/issues/544","id":54059496,"number":544,"title":"Pagination global settings","user":{"login":"kapouille","id":532063,"avatar_url":"https://avatars.githubusercontent.com/u/532063?v=3","gravatar_id":"","url":"https://api.github.com/users/kapouille","html_url":"https://github.com/kapouille","followers_url":"https://api.github.com/users/kapouille/followers","following_url":"https://api.github.com/users/kapouille/following{/other_user}","gists_url":"https://api.github.com/users/kapouille/gists{/gist_id}","starred_url":"https://api.github.com/users/kapouille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapouille/subscriptions","organizations_url":"https://api.github.com/users/kapouille/orgs","repos_url":"https://api.github.com/users/kapouille/repos","events_url":"https://api.github.com/users/kapouille/events{/privacy}","received_events_url":"https://api.github.com/users/kapouille/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-12T14:31:13Z","updated_at":"2015-01-13T14:42:32Z","closed_at":"2015-01-13T14:42:32Z","body":"I found myself in a situation when I have 2 clients that need to retrieve results. One needs pagination, the other doesn't (and would rather not carry the burden of it).\r\n\r\nHowever, it appears that when the ``PAGINATION`` setting is set to ``False``, all features of pagination are enforceably disabled, even when ``max_results`` and ``page`` url params are specified:\r\n - ``max_results`` simply limits the number of records returned.\r\n - ``page`` is silently ignored.\r\nThis is slightly confusing as it appears that pagination is supported when the user asks for it.\r\n\r\nI would have thought that the behaviour was something like this:\r\n  - ``PAGINATION = True`` (default): all GET requests are paginated.\r\n  - ``PAGINATION = False``: GET requests aren't paginated by default, but if ``max_results`` and/or ``page`` parameters are provided, Eve will returned paginated results.\r\n\r\nIs there a reason why when ``PAGINATION`` is set to ``False``, it is enforced not to work? I'd be happy to contribute a patch to make it behave like proposed above.\r\n"},"comment":{"url":"https://api.github.com/repos/nicolaiarocci/eve/issues/comments/69753570","html_url":"https://github.com/nicolaiarocci/eve/issues/544#issuecomment-69753570","issue_url":"https://api.github.com/repos/nicolaiarocci/eve/issues/544","id":69753570,"user":{"login":"kapouille","id":532063,"avatar_url":"https://avatars.githubusercontent.com/u/532063?v=3","gravatar_id":"","url":"https://api.github.com/users/kapouille","html_url":"https://github.com/kapouille","followers_url":"https://api.github.com/users/kapouille/followers","following_url":"https://api.github.com/users/kapouille/following{/other_user}","gists_url":"https://api.github.com/users/kapouille/gists{/gist_id}","starred_url":"https://api.github.com/users/kapouille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapouille/subscriptions","organizations_url":"https://api.github.com/users/kapouille/orgs","repos_url":"https://api.github.com/users/kapouille/repos","events_url":"https://api.github.com/users/kapouille/events{/privacy}","received_events_url":"https://api.github.com/users/kapouille/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T14:42:32Z","updated_at":"2015-01-13T14:42:32Z","body":"Well, I thought it made sense it would behave as an optional thing by default, but if it's not, it's quite alright.\r\nLooking through the code, I understand why from a code perspective it is how it works. \r\nHowever, I'm going to close the issue as there's no capital need for it and adding yet another configuration tag is going to muddle things up.\r\n\r\nThanks!"}}