{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/6966","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6966/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6966/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6966/events","html_url":"https://github.com/joomla/joomla-cms/pull/6966","id":77325292,"number":6966,"title":"Create article - pre-select language & access level","user":{"login":"pe7er","id":1217850,"avatar_url":"https://avatars.githubusercontent.com/u/1217850?v=3","gravatar_id":"","url":"https://api.github.com/users/pe7er","html_url":"https://github.com/pe7er","followers_url":"https://api.github.com/users/pe7er/followers","following_url":"https://api.github.com/users/pe7er/following{/other_user}","gists_url":"https://api.github.com/users/pe7er/gists{/gist_id}","starred_url":"https://api.github.com/users/pe7er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pe7er/subscriptions","organizations_url":"https://api.github.com/users/pe7er/orgs","repos_url":"https://api.github.com/users/pe7er/repos","events_url":"https://api.github.com/users/pe7er/events{/privacy}","received_events_url":"https://api.github.com/users/pe7er/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"},{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/RTC","name":"RTC","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/joomla/joomla-cms/milestones/7","html_url":"https://github.com/joomla/joomla-cms/milestones/Joomla!%203.5.0","labels_url":"https://api.github.com/repos/joomla/joomla-cms/milestones/7/labels","id":944889,"number":7,"title":"Joomla! 3.5.0","description":"","creator":{"login":"rdeutz","id":467356,"avatar_url":"https://avatars.githubusercontent.com/u/467356?v=3","gravatar_id":"","url":"https://api.github.com/users/rdeutz","html_url":"https://github.com/rdeutz","followers_url":"https://api.github.com/users/rdeutz/followers","following_url":"https://api.github.com/users/rdeutz/following{/other_user}","gists_url":"https://api.github.com/users/rdeutz/gists{/gist_id}","starred_url":"https://api.github.com/users/rdeutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdeutz/subscriptions","organizations_url":"https://api.github.com/users/rdeutz/orgs","repos_url":"https://api.github.com/users/rdeutz/repos","events_url":"https://api.github.com/users/rdeutz/events{/privacy}","received_events_url":"https://api.github.com/users/rdeutz/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":4,"state":"open","created_at":"2015-01-21T08:12:44Z","updated_at":"2015-05-18T07:06:40Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-05-17T14:47:56Z","updated_at":"2015-05-18T07:09:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/6966","html_url":"https://github.com/joomla/joomla-cms/pull/6966","diff_url":"https://github.com/joomla/joomla-cms/pull/6966.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/6966.patch"},"body":"This PR fixes the **Article Edit form** with **pre-selection** of **Language** and **Access Level**.\r\nIssue: if you want to add a lot of new articles and assign them to other Languages or Access Levels,\r\nyou've to select those manually in each new article. \r\n\r\n## Test instructions\r\nGo to Article Manager\r\nIn back-end > Content > Articles > [Search Tools]\r\n**Set Filters** for **Select Category**, **Select Language** (to something different than \"All\") and **Select Access** (to something different than \"Public\").\r\n\r\n![screen shot 2015-05-17 at 09 48 27](http://issues.joomla.org/uploads/1/7c46214732996e045273e8b206fdb5fa.png)\r\n\r\n\r\nCreate a **New Article**\r\nLook on the right:\r\n* Category -> the Category that you've filtered on in the Article Manager\r\n* Access -> **always \"Public\"**\r\n* Language -> **always \"All\"**\r\n\r\n\r\n![screen shot 2015-05-17 at 09 48 27](http://issues.joomla.org/uploads/1/6a03175829c8040b13de4f20fd43d974.png)\r\n\r\n\r\n### This PR fixes the \"pre-selection\"\r\non basis of Access Level & Language filters. \r\nAfter the PR the parameters on the right should show:\r\n* Category -> the Category that you've filtered on in the Article Manager\r\n* Access -> the Access Level that you've filtered on in the Article Manager\r\n* Language -> the Language that you've filtered on in the Article Manager\r\n\r\n\r\n![screen shot 2015-05-17 at 09 48 27](http://issues.joomla.org/uploads/1/f22f66853ba38a75bde1f488163bdbe1.png)"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/102943627","html_url":"https://github.com/joomla/joomla-cms/pull/6966#issuecomment-102943627","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6966","id":102943627,"user":{"login":"pe7er","id":1217850,"avatar_url":"https://avatars.githubusercontent.com/u/1217850?v=3","gravatar_id":"","url":"https://api.github.com/users/pe7er","html_url":"https://github.com/pe7er","followers_url":"https://api.github.com/users/pe7er/followers","following_url":"https://api.github.com/users/pe7er/following{/other_user}","gists_url":"https://api.github.com/users/pe7er/gists{/gist_id}","starred_url":"https://api.github.com/users/pe7er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pe7er/subscriptions","organizations_url":"https://api.github.com/users/pe7er/orgs","repos_url":"https://api.github.com/users/pe7er/repos","events_url":"https://api.github.com/users/pe7er/events{/privacy}","received_events_url":"https://api.github.com/users/pe7er/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T07:09:46Z","updated_at":"2015-05-18T07:09:46Z","body":"Thank you all for testing! Thank you @Bakual for the code improvement suggestion. Well spotted! I've changed it in the PR.\r\n\r\n@wilsonge Why was this PR added to milestone 3.5.0? \r\nIMHO it's not a new feature: \r\nPre-selection was working for Category, but not for Language & Access Level. This PR fixed that issue. \r\nCan this fix be added to 3.4.2 instead? Thanks!"}}