{"action":"closed","issue":{"url":"https://api.github.com/repos/michaelbromley/angularUtils/issues/350","repository_url":"https://api.github.com/repos/michaelbromley/angularUtils","labels_url":"https://api.github.com/repos/michaelbromley/angularUtils/issues/350/labels{/name}","comments_url":"https://api.github.com/repos/michaelbromley/angularUtils/issues/350/comments","events_url":"https://api.github.com/repos/michaelbromley/angularUtils/issues/350/events","html_url":"https://github.com/michaelbromley/angularUtils/issues/350","id":153933530,"number":350,"title":"dir-paginate load all data before filtering itemPerPage","user":{"login":"FarshadKazemi","id":10382510,"avatar_url":"https://avatars.githubusercontent.com/u/10382510?v=3","gravatar_id":"","url":"https://api.github.com/users/FarshadKazemi","html_url":"https://github.com/FarshadKazemi","followers_url":"https://api.github.com/users/FarshadKazemi/followers","following_url":"https://api.github.com/users/FarshadKazemi/following{/other_user}","gists_url":"https://api.github.com/users/FarshadKazemi/gists{/gist_id}","starred_url":"https://api.github.com/users/FarshadKazemi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FarshadKazemi/subscriptions","organizations_url":"https://api.github.com/users/FarshadKazemi/orgs","repos_url":"https://api.github.com/users/FarshadKazemi/repos","events_url":"https://api.github.com/users/FarshadKazemi/events{/privacy}","received_events_url":"https://api.github.com/users/FarshadKazemi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-10T06:36:02Z","updated_at":"2016-05-30T13:50:28Z","closed_at":"2016-05-30T13:50:28Z","body":"Hi guys\r\n\r\nI'm developing an angular app that loads my list of users in a table. As quantity of users is big, I need use pagination. But there is one problem:\r\n\r\nWhen I click on next page button (for example num#2) , first, table shows all users (all data load), then (itemPerPage) filter apply.\r\n\r\n    <tr dir-paginate=\" x in user | filter : searchFunction | itemsPerPage : 15\">\r\n    <td>{{x.id}} </td>\r\n    </tr>\r\n    <dir-pagination-controls max-size=\"15\" direction-links=\"true\" boundary-links=\"true\" >\r\n    </dir-pagination-controls> \r\n\r\nAny suggestion will be appreciated ...\r\n\r\n"}}
{"actor":{"display_login":"michaelbromley"}}