{"action":"created","issue":{"url":"https://api.github.com/repos/inonit/drf-haystack/issues/63","repository_url":"https://api.github.com/repos/inonit/drf-haystack","labels_url":"https://api.github.com/repos/inonit/drf-haystack/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/inonit/drf-haystack/issues/63/comments","events_url":"https://api.github.com/repos/inonit/drf-haystack/issues/63/events","html_url":"https://github.com/inonit/drf-haystack/issues/63","id":163079979,"number":63,"title":"haystack viewset is returning empty results with limit and offset pagination","user":{"login":"karimamer","id":2056689,"avatar_url":"https://avatars.githubusercontent.com/u/2056689?v=3","gravatar_id":"","url":"https://api.github.com/users/karimamer","html_url":"https://github.com/karimamer","followers_url":"https://api.github.com/users/karimamer/followers","following_url":"https://api.github.com/users/karimamer/following{/other_user}","gists_url":"https://api.github.com/users/karimamer/gists{/gist_id}","starred_url":"https://api.github.com/users/karimamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karimamer/subscriptions","organizations_url":"https://api.github.com/users/karimamer/orgs","repos_url":"https://api.github.com/users/karimamer/repos","events_url":"https://api.github.com/users/karimamer/events{/privacy}","received_events_url":"https://api.github.com/users/karimamer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-30T04:45:44Z","updated_at":"2016-06-30T08:40:53Z","closed_at":null,"body":"i have this view\r\n```\r\nclass AppSearchView(HaystackViewSet, ProtectedResourceView):\r\n    pagination_class = LimitOffsetPagination\r\n    serializer_class = AppindexSerializer\r\n    max_limit = 50\r\n    index_models = [App]\r\n```\r\nand i am querying using this url but the result is always empty  but if i remove offset and limit from the url i get the results  \r\n`127.0.0.1:8001/v1/App/search/?offset=&limit=20`\r\n\r\n```\r\n{\r\n  \"count\": 0,\r\n  \"next\": null,\r\n  \"previous\": null,\r\n  \"results\": []\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/inonit/drf-haystack/issues/comments/229598159","html_url":"https://github.com/inonit/drf-haystack/issues/63#issuecomment-229598159","issue_url":"https://api.github.com/repos/inonit/drf-haystack/issues/63","id":229598159,"user":{"login":"rhblind","id":1574295,"avatar_url":"https://avatars.githubusercontent.com/u/1574295?v=3","gravatar_id":"","url":"https://api.github.com/users/rhblind","html_url":"https://github.com/rhblind","followers_url":"https://api.github.com/users/rhblind/followers","following_url":"https://api.github.com/users/rhblind/following{/other_user}","gists_url":"https://api.github.com/users/rhblind/gists{/gist_id}","starred_url":"https://api.github.com/users/rhblind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhblind/subscriptions","organizations_url":"https://api.github.com/users/rhblind/orgs","repos_url":"https://api.github.com/users/rhblind/repos","events_url":"https://api.github.com/users/rhblind/events{/privacy}","received_events_url":"https://api.github.com/users/rhblind/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T08:40:53Z","updated_at":"2016-06-30T08:40:53Z","body":"I'm unable to reproduce this, can you try to remove the `ProtectedResourceView` and try again?\r\n"}}
{"actor":{"display_login":"rhblind"}}