{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/9978","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/9978/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/9978/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/9978/events","html_url":"https://github.com/joomla/joomla-cms/pull/9978","id":149205150,"number":9978,"title":"[com_newsfeeds] newsfeeds view: Add max level filter","user":{"login":"andrepereiradasilva","id":9630530,"avatar_url":"https://avatars.githubusercontent.com/u/9630530?v=3","gravatar_id":"","url":"https://api.github.com/users/andrepereiradasilva","html_url":"https://github.com/andrepereiradasilva","followers_url":"https://api.github.com/users/andrepereiradasilva/followers","following_url":"https://api.github.com/users/andrepereiradasilva/following{/other_user}","gists_url":"https://api.github.com/users/andrepereiradasilva/gists{/gist_id}","starred_url":"https://api.github.com/users/andrepereiradasilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrepereiradasilva/subscriptions","organizations_url":"https://api.github.com/users/andrepereiradasilva/orgs","repos_url":"https://api.github.com/users/andrepereiradasilva/repos","events_url":"https://api.github.com/users/andrepereiradasilva/events{/privacy}","received_events_url":"https://api.github.com/users/andrepereiradasilva/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-18T16:40:34Z","updated_at":"2016-04-19T10:01:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/9978","html_url":"https://github.com/joomla/joomla-cms/pull/9978","diff_url":"https://github.com/joomla/joomla-cms/pull/9978.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/9978.patch"},"body":"Pull Request for Improvement.\r\n\r\n#### Summary of Changes\r\n\r\nAll backend views that are or are associated with tree like structures (e.g. menus, categories) should have a max level filter.\r\n\r\nThis is valid currently for:\r\n- com_menus items view\r\n- com_content articles view\r\n- com_content featured view\r\n- com_tags tags view\r\n\r\nSo, this PR is a part of series of PR to add that filter in the views that use categories:\r\n- com_contacts contacts view (https://github.com/joomla/joomla-cms/pull/9975)\r\n- com_banners banners view (https://github.com/joomla/joomla-cms/pull/9977)\r\n- com_newsfeeds newsfeeds view (**this PR**)\r\n- com_notes notes view (Pending)\r\n- com_banners tracks view (Pending)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/9630530/14611926/8be00e7a-058c-11e6-88fb-9f761264bf09.png)\r\n\r\n#### Testing Instructions\r\n\r\n1. Use latest staging and apply this patch\r\n2. Create some newsffeds categories with at least two levels\r\n3. Create some newsffeds and associate them to the categories created in 2..\r\n4. Test the new max levels filter."},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/211835867","html_url":"https://github.com/joomla/joomla-cms/pull/9978#issuecomment-211835867","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/9978","id":211835867,"user":{"login":"richard67","id":7413183,"avatar_url":"https://avatars.githubusercontent.com/u/7413183?v=3","gravatar_id":"","url":"https://api.github.com/users/richard67","html_url":"https://github.com/richard67","followers_url":"https://api.github.com/users/richard67/followers","following_url":"https://api.github.com/users/richard67/following{/other_user}","gists_url":"https://api.github.com/users/richard67/gists{/gist_id}","starred_url":"https://api.github.com/users/richard67/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richard67/subscriptions","organizations_url":"https://api.github.com/users/richard67/orgs","repos_url":"https://api.github.com/users/richard67/repos","events_url":"https://api.github.com/users/richard67/events{/privacy}","received_events_url":"https://api.github.com/users/richard67/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T10:01:24Z","updated_at":"2016-04-19T10:01:24Z","body":"I have tested this item :white_check_mark: successfully on 1e701d1ba5d6215adf25f03d1df04e1dbdb8d470<br /><br />New olympic discipline with Brian and me: Synchroneous patch testing :smile: <hr /><sub>This comment was created with the <a href=\"https://github.com/joomla/jissues\">J!Tracker Application</a> at <a href=\"https://issues.joomla.org/tracker/joomla-cms/9978\">issues.joomla.org/joomla-cms/9978</a>.</sub>"}}