{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/18179","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/18179/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/18179/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/18179/events","html_url":"https://github.com/joomla/joomla-cms/pull/18179","id":261895904,"number":18179,"title":"Fix backend articles manager not listing articles in sub-categories when categories filter is active","user":{"login":"ggppdk","id":5092940,"avatar_url":"https://avatars2.githubusercontent.com/u/5092940?v=4","gravatar_id":"","url":"https://api.github.com/users/ggppdk","html_url":"https://github.com/ggppdk","followers_url":"https://api.github.com/users/ggppdk/followers","following_url":"https://api.github.com/users/ggppdk/following{/other_user}","gists_url":"https://api.github.com/users/ggppdk/gists{/gist_id}","starred_url":"https://api.github.com/users/ggppdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggppdk/subscriptions","organizations_url":"https://api.github.com/users/ggppdk/orgs","repos_url":"https://api.github.com/users/ggppdk/repos","events_url":"https://api.github.com/users/ggppdk/events{/privacy}","received_events_url":"https://api.github.com/users/ggppdk/received_events","type":"User","site_admin":false},"labels":[{"id":60721348,"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/joomla/joomla-cms/milestones/27","html_url":"https://github.com/joomla/joomla-cms/milestone/27","labels_url":"https://api.github.com/repos/joomla/joomla-cms/milestones/27/labels","id":2804429,"number":27,"title":"Joomla 3.8.2","description":"","creator":{"login":"mbabker","id":368545,"avatar_url":"https://avatars2.githubusercontent.com/u/368545?v=4","gravatar_id":"","url":"https://api.github.com/users/mbabker","html_url":"https://github.com/mbabker","followers_url":"https://api.github.com/users/mbabker/followers","following_url":"https://api.github.com/users/mbabker/following{/other_user}","gists_url":"https://api.github.com/users/mbabker/gists{/gist_id}","starred_url":"https://api.github.com/users/mbabker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbabker/subscriptions","organizations_url":"https://api.github.com/users/mbabker/orgs","repos_url":"https://api.github.com/users/mbabker/repos","events_url":"https://api.github.com/users/mbabker/events{/privacy}","received_events_url":"https://api.github.com/users/mbabker/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":95,"state":"closed","created_at":"2017-09-30T14:43:15Z","updated_at":"2017-11-07T12:40:46Z","due_on":"2017-11-07T08:00:00Z","closed_at":"2017-11-07T12:40:46Z"},"comments":41,"created_at":"2017-10-01T06:37:11Z","updated_at":"2018-03-28T12:52:08Z","closed_at":"2017-10-09T23:27:13Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/18179","html_url":"https://github.com/joomla/joomla-cms/pull/18179","diff_url":"https://github.com/joomla/joomla-cms/pull/18179.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/18179.patch"},"body":"Pull Request for Issue #18178\r\n\r\n### Summary of Changes\r\nListing articles in sub-categories when categories filter is active is no longer working\r\nThis quite a big annoyance for people that need it, \r\n- also issue may go unnoticed by people that need\r\n\r\nBug was introduced when category filter in articles manager was converted to multi-value\r\n- multi value category filtering code does not support listing sub-category articles (yet)\r\n\r\nThis PR fixes \r\n- the very common case of filtering by a single category\r\n- but also fixes the case of selecting more than 1 category in the filter\r\n- also the (max) level filter is applied per filtered category\r\n\r\n\r\n### Testing Instructions\r\nIn a Joomla installation that e.g. has testing articles \r\nfilter by category \"Joomla\" and you will notice that only 11 articles are shown , those that belong to category \"Joomla\"\r\n\r\nalso please test with \r\n- 2 categories without (max) level filter\r\n- 2 categories with (max) level filter\r\n\r\n### Expected result\r\nThose that belong to subcategories should also be listed (when max level filter is not set)\r\n\r\n### Actual result\r\nThose that belong to subcategories are not listed (despite max level filter not set)\r\n\r\n\r\n### Documentation Changes Required\r\nNone"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/376875230","html_url":"https://github.com/joomla/joomla-cms/pull/18179#issuecomment-376875230","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/18179","id":376875230,"user":{"login":"ggppdk","id":5092940,"avatar_url":"https://avatars2.githubusercontent.com/u/5092940?v=4","gravatar_id":"","url":"https://api.github.com/users/ggppdk","html_url":"https://github.com/ggppdk","followers_url":"https://api.github.com/users/ggppdk/followers","following_url":"https://api.github.com/users/ggppdk/following{/other_user}","gists_url":"https://api.github.com/users/ggppdk/gists{/gist_id}","starred_url":"https://api.github.com/users/ggppdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggppdk/subscriptions","organizations_url":"https://api.github.com/users/ggppdk/orgs","repos_url":"https://api.github.com/users/ggppdk/repos","events_url":"https://api.github.com/users/ggppdk/events{/privacy}","received_events_url":"https://api.github.com/users/ggppdk/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T12:52:08Z","updated_at":"2018-03-28T12:52:08Z","author_association":"CONTRIBUTOR","body":"@sandstorm871 \r\n\r\nThis is a fix for the DB model of the **backend** articles manager,\r\nit is not related to filtering of the frontend views"}}
{"actor":{"display_login":"ggppdk"}}