{"action":"closed","issue":{"url":"https://api.github.com/repos/igorcosta/ng-filters-br/issues/10","repository_url":"https://api.github.com/repos/igorcosta/ng-filters-br","labels_url":"https://api.github.com/repos/igorcosta/ng-filters-br/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/igorcosta/ng-filters-br/issues/10/comments","events_url":"https://api.github.com/repos/igorcosta/ng-filters-br/issues/10/events","html_url":"https://github.com/igorcosta/ng-filters-br/issues/10","id":128203184,"number":10,"title":"CPF com zero na frente","user":{"login":"fabiogusmao","id":2974851,"avatar_url":"https://avatars.githubusercontent.com/u/2974851?v=3","gravatar_id":"","url":"https://api.github.com/users/fabiogusmao","html_url":"https://github.com/fabiogusmao","followers_url":"https://api.github.com/users/fabiogusmao/followers","following_url":"https://api.github.com/users/fabiogusmao/following{/other_user}","gists_url":"https://api.github.com/users/fabiogusmao/gists{/gist_id}","starred_url":"https://api.github.com/users/fabiogusmao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabiogusmao/subscriptions","organizations_url":"https://api.github.com/users/fabiogusmao/orgs","repos_url":"https://api.github.com/users/fabiogusmao/repos","events_url":"https://api.github.com/users/fabiogusmao/events{/privacy}","received_events_url":"https://api.github.com/users/fabiogusmao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-01-22T17:23:30Z","updated_at":"2016-08-18T23:24:24Z","closed_at":"2016-08-18T23:24:24Z","body":"O filtro de CPF não formata direito quando o CPF começa com zero.\r\n\r\nA correção é colocar esse código no filtro:\r\n\r\nif(str.length === 10)\r\n        str = '0' + str;\r\n    "}}
{"actor":{"display_login":"igorcosta"}}