{"action":"created","issue":{"url":"https://api.github.com/repos/mharris717/ember-cli-pagination/issues/240","repository_url":"https://api.github.com/repos/mharris717/ember-cli-pagination","labels_url":"https://api.github.com/repos/mharris717/ember-cli-pagination/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/mharris717/ember-cli-pagination/issues/240/comments","events_url":"https://api.github.com/repos/mharris717/ember-cli-pagination/issues/240/events","html_url":"https://github.com/mharris717/ember-cli-pagination/issues/240","id":299363705,"number":240,"title":"Data not showing in view after moving to Ember 3.0","user":{"login":"kitsuneyo","id":12144990,"avatar_url":"https://avatars1.githubusercontent.com/u/12144990?v=4","gravatar_id":"","url":"https://api.github.com/users/kitsuneyo","html_url":"https://github.com/kitsuneyo","followers_url":"https://api.github.com/users/kitsuneyo/followers","following_url":"https://api.github.com/users/kitsuneyo/following{/other_user}","gists_url":"https://api.github.com/users/kitsuneyo/gists{/gist_id}","starred_url":"https://api.github.com/users/kitsuneyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitsuneyo/subscriptions","organizations_url":"https://api.github.com/users/kitsuneyo/orgs","repos_url":"https://api.github.com/users/kitsuneyo/repos","events_url":"https://api.github.com/users/kitsuneyo/events{/privacy}","received_events_url":"https://api.github.com/users/kitsuneyo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-02-22T13:58:27Z","updated_at":"2018-05-11T19:35:23Z","closed_at":null,"author_association":"NONE","body":"My route for a remote paginated API stopped working when I upgraded to Ember 3.0 today. Ember Inspector shows data is loading, but it doesn't display in the view. Pagination links also show up and load data, but the table that should show the data stays empty.\r\n\r\nOne error I get is: \"DEPRECATION: Usage of `content` is deprecated, use `model` instead. [deprecation id: ember-runtime.controller.content-alias]\". Maybe this is relevant since I believe 3.0 removes some deprecated things?\r\n\r\nHere's the relevant stuff from my route:\r\n\r\n```\r\nmodel: function(params) {\r\n      params.paramMapping = {\r\n        page: \"page[number]\",\r\n        perPage: \"page[size]\",\r\n        total_pages: \"total_pages\"\r\n      };\r\n      return this.findPaged('user', params);\r\n    },\r\n\r\n    perPage: 30,\r\n\r\n    queryParams: {\r\n      sort: { replace: true, refreshModel: true },\r\n      search: { replace: true, refreshModel: true },\r\n      filter: { replace: true, refreshModel: true }\r\n    }\r\n```\r\n\r\nHere's the pagination stuff in my controller:\r\n\r\n```\r\nqueryParams: ['page', 'perPage', 'sort', 'filter', 'search'],\r\n```\r\n\r\nHere's how I'm using it in my template:\r\n\r\n```\r\n{{#each model as |user|}}\r\n  {{user.username}}\r\n{{/each}}\r\n\r\n{{page-numbers content=model}}\r\n```\r\n\r\nAlso, if I just put `{{model}}` in my template I get `<(unknown mixin):ember526>`. On other routes this is normally something like `<DS.RecordArray:ember480>`, but maybe this is just how the pagination works.\r\n\r\nAm I doing something wrong or is this an issue with ember-cli-pagination? Thanks for any help.\r\n"},"comment":{"url":"https://api.github.com/repos/mharris717/ember-cli-pagination/issues/comments/388464815","html_url":"https://github.com/mharris717/ember-cli-pagination/issues/240#issuecomment-388464815","issue_url":"https://api.github.com/repos/mharris717/ember-cli-pagination/issues/240","id":388464815,"user":{"login":"alejandrodevs","id":1541261,"avatar_url":"https://avatars1.githubusercontent.com/u/1541261?v=4","gravatar_id":"","url":"https://api.github.com/users/alejandrodevs","html_url":"https://github.com/alejandrodevs","followers_url":"https://api.github.com/users/alejandrodevs/followers","following_url":"https://api.github.com/users/alejandrodevs/following{/other_user}","gists_url":"https://api.github.com/users/alejandrodevs/gists{/gist_id}","starred_url":"https://api.github.com/users/alejandrodevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alejandrodevs/subscriptions","organizations_url":"https://api.github.com/users/alejandrodevs/orgs","repos_url":"https://api.github.com/users/alejandrodevs/repos","events_url":"https://api.github.com/users/alejandrodevs/events{/privacy}","received_events_url":"https://api.github.com/users/alejandrodevs/received_events","type":"User","site_admin":false},"created_at":"2018-05-11T19:35:23Z","updated_at":"2018-05-11T19:35:23Z","author_association":"NONE","body":"Yes, local pagination is working well. This issue is only happening with remote pagination.\r\nI'll be dedicating some time to think about a redesign and I'll let you know my ideas."}}
{"actor":{"display_login":"alejandrodevs"}}