{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/13011","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/13011/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/13011/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/13011/events","html_url":"https://github.com/joomla/joomla-cms/pull/13011","id":191651330,"number":13011,"title":"add redirect option after article submission","user":{"login":"bembelimen","id":1229869,"avatar_url":"https://avatars.githubusercontent.com/u/1229869?v=3","gravatar_id":"","url":"https://api.github.com/users/bembelimen","html_url":"https://github.com/bembelimen","followers_url":"https://api.github.com/users/bembelimen/followers","following_url":"https://api.github.com/users/bembelimen/following{/other_user}","gists_url":"https://api.github.com/users/bembelimen/gists{/gist_id}","starred_url":"https://api.github.com/users/bembelimen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bembelimen/subscriptions","organizations_url":"https://api.github.com/users/bembelimen/orgs","repos_url":"https://api.github.com/users/bembelimen/repos","events_url":"https://api.github.com/users/bembelimen/events{/privacy}","received_events_url":"https://api.github.com/users/bembelimen/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":10,"created_at":"2016-11-25T08:49:30Z","updated_at":"2016-12-05T16:46:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/13011","html_url":"https://github.com/joomla/joomla-cms/pull/13011","diff_url":"https://github.com/joomla/joomla-cms/pull/13011.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/13011.patch"},"body":"### Summary of Changes\r\nIf you create a frontend article submission, you cannot specify, where the user will be redirected after the submission. As default, the user will be redirected to the frontpage. With this patch, you can define a menu item where the user should be redirected or still use the default behavior.\r\n\r\n### Testing Instructions\r\n=> Create a frontend submission menu item\r\n=> Look in the tab \"options\"\r\n=> There should be no parameter\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\r\n=> Let it at \"default\" 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"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/264906795","html_url":"https://github.com/joomla/joomla-cms/pull/13011#issuecomment-264906795","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/13011","id":264906795,"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":"2016-12-05T16:46:46Z","updated_at":"2016-12-05T16:46:46Z","body":"> is there a reason why you make this complex call here\r\n\r\nit could be simplified indeed but the params we have for the login menu item may or may not be numeric.\r\nIt's much simpler in the module\r\nhttps://github.com/joomla/joomla-cms/blob/staging/modules/mod_login/helper.php#L30-L51\r\n"}}
{"actor":{"display_login":"infograf768"}}