{"action":"created","issue":{"url":"https://api.github.com/repos/creocoder/yii2-taggable/issues/9","labels_url":"https://api.github.com/repos/creocoder/yii2-taggable/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/creocoder/yii2-taggable/issues/9/comments","events_url":"https://api.github.com/repos/creocoder/yii2-taggable/issues/9/events","html_url":"https://github.com/creocoder/yii2-taggable/issues/9","id":54933202,"number":9,"title":"Advanced usage: generate links on tags","user":{"login":"a-komarev","id":1849174,"avatar_url":"https://avatars.githubusercontent.com/u/1849174?v=3","gravatar_id":"","url":"https://api.github.com/users/a-komarev","html_url":"https://github.com/a-komarev","followers_url":"https://api.github.com/users/a-komarev/followers","following_url":"https://api.github.com/users/a-komarev/following{/other_user}","gists_url":"https://api.github.com/users/a-komarev/gists{/gist_id}","starred_url":"https://api.github.com/users/a-komarev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-komarev/subscriptions","organizations_url":"https://api.github.com/users/a-komarev/orgs","repos_url":"https://api.github.com/users/a-komarev/repos","events_url":"https://api.github.com/users/a-komarev/events{/privacy}","received_events_url":"https://api.github.com/users/a-komarev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/creocoder/yii2-taggable/labels/documentation","name":"documentation","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"creocoder","id":896494,"avatar_url":"https://avatars.githubusercontent.com/u/896494?v=3","gravatar_id":"","url":"https://api.github.com/users/creocoder","html_url":"https://github.com/creocoder","followers_url":"https://api.github.com/users/creocoder/followers","following_url":"https://api.github.com/users/creocoder/following{/other_user}","gists_url":"https://api.github.com/users/creocoder/gists{/gist_id}","starred_url":"https://api.github.com/users/creocoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creocoder/subscriptions","organizations_url":"https://api.github.com/users/creocoder/orgs","repos_url":"https://api.github.com/users/creocoder/repos","events_url":"https://api.github.com/users/creocoder/events{/privacy}","received_events_url":"https://api.github.com/users/creocoder/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-01-20T20:13:55Z","updated_at":"2015-02-08T20:55:40Z","closed_at":null,"body":"Here is how I'm using tags without SluggableBehavior.\r\n\r\nIn application config:\r\n```php\r\n'components' => [\r\n    'urlManager' => [\r\n        'class' => 'yii\\web\\UrlManager',\r\n        'enablePrettyUrl' => true,\r\n        'showScriptName' => false,\r\n        'rules'=> [\r\n            ['pattern'=>'tag/<tag>', 'route'=>'tag/view'],\r\n        ]\r\n    ],\r\n]\r\n```\r\n\r\nIn view file:\r\n```php\r\n<?php foreach ($model->getTagNames(true) as $tag) : ?>\r\n    <?= Html::a($tag, ['/tag/view', 'tag' => $tag]) ?>\r\n<?php endforeach ?>\r\n```\r\n\r\nIf we have a tag `tag with whitespace` we will have a generated link:\r\n`/tag/tag+with+whitespace`\r\n\r\nThis link will call `TagController:actionView()` method and bypass `tag` parameter in `Yii::$app->request->queryParams` array."},"comment":{"url":"https://api.github.com/repos/creocoder/yii2-taggable/issues/comments/73431238","html_url":"https://github.com/creocoder/yii2-taggable/issues/9#issuecomment-73431238","issue_url":"https://api.github.com/repos/creocoder/yii2-taggable/issues/9","id":73431238,"user":{"login":"a-komarev","id":1849174,"avatar_url":"https://avatars.githubusercontent.com/u/1849174?v=3","gravatar_id":"","url":"https://api.github.com/users/a-komarev","html_url":"https://github.com/a-komarev","followers_url":"https://api.github.com/users/a-komarev/followers","following_url":"https://api.github.com/users/a-komarev/following{/other_user}","gists_url":"https://api.github.com/users/a-komarev/gists{/gist_id}","starred_url":"https://api.github.com/users/a-komarev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-komarev/subscriptions","organizations_url":"https://api.github.com/users/a-komarev/orgs","repos_url":"https://api.github.com/users/a-komarev/repos","events_url":"https://api.github.com/users/a-komarev/events{/privacy}","received_events_url":"https://api.github.com/users/a-komarev/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T20:55:40Z","updated_at":"2015-02-08T20:55:40Z","body":"My bad. Another problem rising. If you are setting `tagnameAttribute` as `slug` search will work, but adding new tags will write them in `slug` field too :( Do we need to extend `TaggableQueryBehavior` somehow?"}}