{"action":"created","issue":{"url":"https://api.github.com/repos/timber/timber/issues/1114","repository_url":"https://api.github.com/repos/timber/timber","labels_url":"https://api.github.com/repos/timber/timber/issues/1114/labels{/name}","comments_url":"https://api.github.com/repos/timber/timber/issues/1114/comments","events_url":"https://api.github.com/repos/timber/timber/issues/1114/events","html_url":"https://github.com/timber/timber/pull/1114","id":165080298,"number":1114,"title":"Added functionality to get direct children of a term excluding grandc…","user":{"login":"justono1","id":4743633,"avatar_url":"https://avatars.githubusercontent.com/u/4743633?v=3","gravatar_id":"","url":"https://api.github.com/users/justono1","html_url":"https://github.com/justono1","followers_url":"https://api.github.com/users/justono1/followers","following_url":"https://api.github.com/users/justono1/following{/other_user}","gists_url":"https://api.github.com/users/justono1/gists{/gist_id}","starred_url":"https://api.github.com/users/justono1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justono1/subscriptions","organizations_url":"https://api.github.com/users/justono1/orgs","repos_url":"https://api.github.com/users/justono1/repos","events_url":"https://api.github.com/users/justono1/events{/privacy}","received_events_url":"https://api.github.com/users/justono1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-12T13:28:05Z","updated_at":"2016-07-12T13:35:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/timber/timber/pulls/1114","html_url":"https://github.com/timber/timber/pull/1114","diff_url":"https://github.com/timber/timber/pull/1114.diff","patch_url":"https://github.com/timber/timber/pull/1114.patch"},"body":"#### Issue\r\nTrying to loop through each level of a taxonomy but with existing functionality of get_children, after the first level the function would return all children (get_term_children) even the grandchildren. I needed to apply different styles and functionality to each level of the taxonomy.\r\n\r\n\r\n#### Solution\r\nAdded a function named get_direct_children to return only terms directly related to the term parent. Essentially return terms one level deep.\r\n\r\n\r\n#### Testing\r\nOnly tested within current project.\r\n\r\n…hildren, useful for working with mutli leveled taxonomies."},"comment":{"url":"https://api.github.com/repos/timber/timber/issues/comments/232048827","html_url":"https://github.com/timber/timber/pull/1114#issuecomment-232048827","issue_url":"https://api.github.com/repos/timber/timber/issues/1114","id":232048827,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T13:35:21Z","updated_at":"2016-07-12T13:35:21Z","body":"\n[![Coverage Status](https://coveralls.io/builds/6968456/badge)](https://coveralls.io/builds/6968456)\n\nCoverage increased (+5.1%) to 93.623% when pulling **3e4f4830a1fdae6ecc03d53bff6508567c865622 on justono1:master** into **ce467707192d42c868570e94572847316f1b4261 on timber:master**.\n"}}
{"actor":{"display_login":"coveralls"}}