{"action":"created","issue":{"url":"https://api.github.com/repos/esvit/ng-table/issues/570","labels_url":"https://api.github.com/repos/esvit/ng-table/issues/570/labels{/name}","comments_url":"https://api.github.com/repos/esvit/ng-table/issues/570/comments","events_url":"https://api.github.com/repos/esvit/ng-table/issues/570/events","html_url":"https://github.com/esvit/ng-table/issues/570","id":62066913,"number":570,"title":"The text filter keypress react only for every second key, when data are populated through http service.","user":{"login":"mikethejet","id":2683571,"avatar_url":"https://avatars.githubusercontent.com/u/2683571?v=3","gravatar_id":"","url":"https://api.github.com/users/mikethejet","html_url":"https://github.com/mikethejet","followers_url":"https://api.github.com/users/mikethejet/followers","following_url":"https://api.github.com/users/mikethejet/following{/other_user}","gists_url":"https://api.github.com/users/mikethejet/gists{/gist_id}","starred_url":"https://api.github.com/users/mikethejet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikethejet/subscriptions","organizations_url":"https://api.github.com/users/mikethejet/orgs","repos_url":"https://api.github.com/users/mikethejet/repos","events_url":"https://api.github.com/users/mikethejet/events{/privacy}","received_events_url":"https://api.github.com/users/mikethejet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-16T12:36:50Z","updated_at":"2015-03-16T12:38:40Z","closed_at":null,"body":"\r\n $scope.table = $scope.tableParams = new ngTableParams(\r\n    {\r\n        page: 1,            // show first page\r\n        count: 10,          // count per page\r\n        sorting: {\r\n            idTranslation: 'desc'     // initial sorting\r\n        },\r\n             \r\n    }, {\r\n      \r\n        getData: function($defer, params) \r\n        {\r\n            \r\n            \r\n            var paramsNew = angular.copy(params.$params,  $scope.search  );\r\n            \r\n            console.log (\"merged data new params url\" , params);\r\n              \r\n            {\r\n                var paramsCount = {};\r\n                                       \r\n                ApiTranslation.count( params.url() , function (countTranslations) \r\n                {\r\n                  \r\n                    params.total ( countTranslations.count ) ;\r\n                    \r\n                    $log.log(\"Total count for pager:\" , countTranslations.count );\r\n                    \r\n                     ApiTranslation.query( params.url(), function (data) \r\n                     {\r\n\r\n                        $scope.Translations = data;\r\n                        \r\n                        \r\n                        $defer.resolve($scope.Translations);\r\n\r\n                        console.log(\"sort:\", params.sorting());\r\n                        console.log(\"filter:\", params.filter());\r\n\r\n                    }\r\n                    );\r\n                    \r\n                });\r\n                \r\n            \r\n            }\r\n        }\r\n    }); //table\r\n"},"comment":{"url":"https://api.github.com/repos/esvit/ng-table/issues/comments/81628617","html_url":"https://github.com/esvit/ng-table/issues/570#issuecomment-81628617","issue_url":"https://api.github.com/repos/esvit/ng-table/issues/570","id":81628617,"user":{"login":"mikethejet","id":2683571,"avatar_url":"https://avatars.githubusercontent.com/u/2683571?v=3","gravatar_id":"","url":"https://api.github.com/users/mikethejet","html_url":"https://github.com/mikethejet","followers_url":"https://api.github.com/users/mikethejet/followers","following_url":"https://api.github.com/users/mikethejet/following{/other_user}","gists_url":"https://api.github.com/users/mikethejet/gists{/gist_id}","starred_url":"https://api.github.com/users/mikethejet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikethejet/subscriptions","organizations_url":"https://api.github.com/users/mikethejet/orgs","repos_url":"https://api.github.com/users/mikethejet/repos","events_url":"https://api.github.com/users/mikethejet/events{/privacy}","received_events_url":"https://api.github.com/users/mikethejet/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T12:38:40Z","updated_at":"2015-03-16T12:38:40Z","body":"Is keypress a char in table filter waiting for response of $defer ? its that ok ? \r\n(its slow down UI, and filter do not respond to key press, in the filter i see only every second char i press... ) "}}