fix(search): tags redirect route

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
skjnldsv 2024-06-11 11:19:29 +02:00 committed by Ferdinand Thiessen
parent 9cc641b13a
commit 3a11a49e48

View file

@ -138,9 +138,9 @@ class TagSearchProvider implements IProvider {
// prepare direct tag results
$tagResults = array_map(function (ISystemTag $tag) {
$thumbnailUrl = '';
$link = $this->urlGenerator->linkToRoute(
'files.view.index'
) . '?view=systemtagsfilter&tags='.$tag->getId();
$link = $this->urlGenerator->linkToRoute('files.view.indexView', [
'view' => 'tags',
]) . '?dir='.$tag->getId();
$searchResultEntry = new SearchResultEntry(
$thumbnailUrl,
$this->l10n->t('All tagged %s …', [$tag->getName()]),