aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/systemtags/lib/Search/TagSearchProvider.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/systemtags/lib/Search/TagSearchProvider.php b/apps/systemtags/lib/Search/TagSearchProvider.php
index a8ca5998c48..80f9d39c141 100644
--- a/apps/systemtags/lib/Search/TagSearchProvider.php
+++ b/apps/systemtags/lib/Search/TagSearchProvider.php
@@ -116,9 +116,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()]),