[COMPONENT][Tag] Remove wrong canonicalization of tags in tag feed controller. Fix display of original tags

This commit is contained in:
2021-12-07 19:53:56 +00:00
parent c093eb9089
commit c131e47176
6 changed files with 86 additions and 64 deletions

View File

@@ -125,7 +125,7 @@ class NoteTag extends Entity
public function getUrl(?Actor $actor = null): string
{
$params = ['tag' => $this->getCanonical()];
$params = ['canon' => $this->getCanonical(), 'tag' => $this->getTag()];
if (!\is_null($actor)) {
$params['lang'] = $actor->getTopLanguage()->getLocale();
}