{"action":"opened","issue":{"url":"https://api.github.com/repos/olhoneles/politicos/issues/10","repository_url":"https://api.github.com/repos/olhoneles/politicos","labels_url":"https://api.github.com/repos/olhoneles/politicos/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/olhoneles/politicos/issues/10/comments","events_url":"https://api.github.com/repos/olhoneles/politicos/issues/10/events","html_url":"https://github.com/olhoneles/politicos/issues/10","id":143574974,"number":10,"title":"Criar rodas de pesquisa","user":{"login":"marcelometal","id":665903,"avatar_url":"https://avatars.githubusercontent.com/u/665903?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelometal","html_url":"https://github.com/marcelometal","followers_url":"https://api.github.com/users/marcelometal/followers","following_url":"https://api.github.com/users/marcelometal/following{/other_user}","gists_url":"https://api.github.com/users/marcelometal/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelometal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelometal/subscriptions","organizations_url":"https://api.github.com/users/marcelometal/orgs","repos_url":"https://api.github.com/users/marcelometal/repos","events_url":"https://api.github.com/users/marcelometal/events{/privacy}","received_events_url":"https://api.github.com/users/marcelometal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/olhoneles/politicos/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-25T19:22:15Z","updated_at":"2016-03-25T19:22:15Z","closed_at":null,"body":"Os filtros de pesquisa padrão do tastypie não fazem buscas complexas. Como por exemplo, pesquisar 'dilma rousseff' retorna vazio uma vez que o nome cadastrado é 'dilma vana rousseff'. A ideia é criar uma rota 'search' e usar o operador 'Q' do django.\r\n\r\nModels que precisam desse filtro:\r\n\r\n* [ ] Politician\r\n* [ ] City\r\n* [ ] Occupation"}}