{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/13228","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/13228/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/13228/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/13228/events","html_url":"https://github.com/joomla/joomla-cms/pull/13228","id":195789172,"number":13228,"title":"New Feature: add redirect option after article submission","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},"labels":[{"id":198658453,"url":"https://api.github.com/repos/joomla/joomla-cms/labels/Language%20Change","name":"Language Change","color":"eb6420","default":false},{"id":32136390,"url":"https://api.github.com/repos/joomla/joomla-cms/labels/New%20Feature","name":"New Feature","color":"e102d8","default":false},{"id":60721348,"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-15T12:05:21Z","updated_at":"2016-12-17T14:00:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/13228","html_url":"https://github.com/joomla/joomla-cms/pull/13228","diff_url":"https://github.com/joomla/joomla-cms/pull/13228.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/13228.patch"},"body":"Replacing https://github.com/joomla/joomla-cms/pull/13011 after discussing with @bembelimen \r\n\r\n**Testing Instructions**\r\n\r\n=> Create a frontend `Create Article` menu item\r\n=> Look in the tab \"Options\"\r\n=> The only parameter is to choose or not a specific category\r\n=> Submit an article in the frontend, you'll redirected to the front page\r\n=> Apply patch\r\n=> Look into the menu item options again, there should be a new parameter `Submission Redirect`\r\n\r\n![screen shot 2016-12-17 at 11 00 10](https://cloud.githubusercontent.com/assets/869724/21285976/0ea37e30-c448-11e6-97ae-01dd83ed4e84.png)\r\n\r\n=> Do not Select any menu item and submit a new article, the redirect to the frontpage should still work\r\n=> Choose a new redirect target in the menu item option\r\n=> Submit an article\r\n=> The user should be redirected to the new (defined) target\r\n\r\nNow works in multilang and only when creating an article when the menu item exists.\r\n\r\nThanks @bembelimen \r\n\r\nNote: also corrected some missing JRoute for redirects in the same file."},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/267764450","html_url":"https://github.com/joomla/joomla-cms/pull/13228#issuecomment-267764450","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/13228","id":267764450,"user":{"login":"AlexRed","id":1362388,"avatar_url":"https://avatars.githubusercontent.com/u/1362388?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexRed","html_url":"https://github.com/AlexRed","followers_url":"https://api.github.com/users/AlexRed/followers","following_url":"https://api.github.com/users/AlexRed/following{/other_user}","gists_url":"https://api.github.com/users/AlexRed/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexRed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexRed/subscriptions","organizations_url":"https://api.github.com/users/AlexRed/orgs","repos_url":"https://api.github.com/users/AlexRed/repos","events_url":"https://api.github.com/users/AlexRed/events{/privacy}","received_events_url":"https://api.github.com/users/AlexRed/received_events","type":"User","site_admin":false},"created_at":"2016-12-17T14:00:14Z","updated_at":"2016-12-17T14:00:14Z","body":"I have tested this item :white_check_mark: successfully on da9fecee11687cb9021ceac3c7b8e3db0739403d<br /><br />Test ok for me.<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/13228\">issues.joomla.org/tracker/joomla-cms/13228</a>.</sub>"}}
{"actor":{"display_login":"AlexRed"}}