{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/11166","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11166/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11166/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11166/events","html_url":"https://github.com/joomla/joomla-cms/pull/11166","id":165991834,"number":11166,"title":"Remove id from tags, use menu item of tags view as default for tag view","user":{"login":"csthomas","id":9054379,"avatar_url":"https://avatars.githubusercontent.com/u/9054379?v=3","gravatar_id":"","url":"https://api.github.com/users/csthomas","html_url":"https://github.com/csthomas","followers_url":"https://api.github.com/users/csthomas/followers","following_url":"https://api.github.com/users/csthomas/following{/other_user}","gists_url":"https://api.github.com/users/csthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/csthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csthomas/subscriptions","organizations_url":"https://api.github.com/users/csthomas/orgs","repos_url":"https://api.github.com/users/csthomas/repos","events_url":"https://api.github.com/users/csthomas/events{/privacy}","received_events_url":"https://api.github.com/users/csthomas/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,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-17T19:35:04Z","updated_at":"2016-07-27T20:19:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/11166","html_url":"https://github.com/joomla/joomla-cms/pull/11166","diff_url":"https://github.com/joomla/joomla-cms/pull/11166.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/11166.patch"},"body":"Pull Request for Issue #11163.\r\n\r\n#### Summary of Changes\r\n- Remove tag id from URL, but it is B/C.\r\n- Treat (second menu item if exists or) first menu item for tags as default menu item for tag view.\r\n\r\nIf tags list does not have any menu item then\r\nreplace \r\n`/component/tags/tag/123-mytag`\r\nto\r\n`/component/tags/mytag`\r\n\r\nIf we have /tags alias for tags view:\r\nthen PR replace \r\n`/tags/tag/123-mytag `\r\nto                        \r\n`/tags/mytag`\r\n\r\nIf we have sencond menu item with alias=\"tag\"\r\nthen:\r\nreplace \r\n`/tags/tag/123-mytag `\r\nto                        \r\n`/tag/mytag`\r\n\r\nbut link to list of tags is:\r\n`/tags`\r\n\r\n\r\n#### Testing Instructions\r\nCreate a few tags and content with tags and test front end URLs.\r\n"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/235707690","html_url":"https://github.com/joomla/joomla-cms/pull/11166#issuecomment-235707690","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11166","id":235707690,"user":{"login":"csthomas","id":9054379,"avatar_url":"https://avatars.githubusercontent.com/u/9054379?v=3","gravatar_id":"","url":"https://api.github.com/users/csthomas","html_url":"https://github.com/csthomas","followers_url":"https://api.github.com/users/csthomas/followers","following_url":"https://api.github.com/users/csthomas/following{/other_user}","gists_url":"https://api.github.com/users/csthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/csthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csthomas/subscriptions","organizations_url":"https://api.github.com/users/csthomas/orgs","repos_url":"https://api.github.com/users/csthomas/repos","events_url":"https://api.github.com/users/csthomas/events{/privacy}","received_events_url":"https://api.github.com/users/csthomas/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T20:19:20Z","updated_at":"2016-07-27T20:19:20Z","body":"If you set menu item with alias \"red\" for tag 'red' and you want URL like /all-tags/red \r\nthen in the right side (menu item edit form, details):\r\n- change menu if you need and\r\n- select parent item (menu item from above menu) to \"all-tags\"\r\n \r\n"}}
{"actor":{"display_login":"csthomas"}}