{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/6673","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6673/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6673/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6673/events","html_url":"https://github.com/joomla/joomla-cms/pull/6673","id":66517898,"number":6673,"title":"Fix for #6661. Module Manager/Hathor. Reset filters Position, Language and Type when filter Client changes.","user":{"login":"bertmert","id":11038612,"avatar_url":"https://avatars.githubusercontent.com/u/11038612?v=3","gravatar_id":"","url":"https://api.github.com/users/bertmert","html_url":"https://github.com/bertmert","followers_url":"https://api.github.com/users/bertmert/followers","following_url":"https://api.github.com/users/bertmert/following{/other_user}","gists_url":"https://api.github.com/users/bertmert/gists{/gist_id}","starred_url":"https://api.github.com/users/bertmert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertmert/subscriptions","organizations_url":"https://api.github.com/users/bertmert/orgs","repos_url":"https://api.github.com/users/bertmert/repos","events_url":"https://api.github.com/users/bertmert/events{/privacy}","received_events_url":"https://api.github.com/users/bertmert/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":10,"created_at":"2015-04-06T03:36:04Z","updated_at":"2015-05-08T08:04:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/6673","html_url":"https://github.com/joomla/joomla-cms/pull/6673","diff_url":"https://github.com/joomla/joomla-cms/pull/6673.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/6673.patch"},"body":"Issue https://github.com/joomla/joomla-cms/issues/6661\r\n\r\nTest:\r\n- Current staging.\r\n- Extensions > Module Manager\r\n- Select \"Site\" as Client to see frontend modules.\r\n- Select Position \"atomic-bottomleft\".\r\n- Select Language: \"All\"\r\n- Select now \"Administrator\" as Client to see backend modules.\r\n- Message \"There are no modules matching your query\"\r\n- See Position filter field: \"- Select Position-\". That's confusing.\r\n- See Language filter field: Still \"All\"\r\n- Click cross next to Search filter to reload page. All OK afterwards.\r\n\r\nLOG  OUT, LOG IN! to clear user session. Then apply patch. Or vice versa.\r\n\r\nAfter patch:\r\n- Filters for Position and Type are resetted correctly when Client changed. Also in the background.\r\n- Message \"There are no modules matching your query\" only if other filters like State or Language don't match. \r\n- You see modules of newly selected client immediately. There's no need to reload page.\r\n\r\n- Test also in template Hathor!"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/100143846","html_url":"https://github.com/joomla/joomla-cms/pull/6673#issuecomment-100143846","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6673","id":100143846,"user":{"login":"infograf768","id":869724,"avatar_url":"https://avatars.githubusercontent.com/u/869724?v=3","gravatar_id":"","url":"https://api.github.com/users/infograf768","html_url":"https://github.com/infograf768","followers_url":"https://api.github.com/users/infograf768/followers","following_url":"https://api.github.com/users/infograf768/following{/other_user}","gists_url":"https://api.github.com/users/infograf768/gists{/gist_id}","starred_url":"https://api.github.com/users/infograf768/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infograf768/subscriptions","organizations_url":"https://api.github.com/users/infograf768/orgs","repos_url":"https://api.github.com/users/infograf768/repos","events_url":"https://api.github.com/users/infograf768/events{/privacy}","received_events_url":"https://api.github.com/users/infograf768/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T08:04:45Z","updated_at":"2015-05-08T08:04:45Z","body":"I guess the bug came from:\r\nhttps://github.com/joomla/joomla-cms/pull/6682"}}