From e346a660a80a341090993e4b369a786db00085d0 Mon Sep 17 00:00:00 2001 From: nfebe Date: Tue, 12 May 2026 12:01:13 +0100 Subject: [PATCH] fix(systemtags): Include leading slash in unified search tag link Tag results from unified search opened the tags view with a directory path missing its leading slash, which the view rejected with "Invalid tag ID". Tag links now match the path convention used elsewhere so the tag opens correctly and lists the files associated with it. Signed-off-by: nfebe --- apps/systemtags/lib/Search/TagSearchProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/systemtags/lib/Search/TagSearchProvider.php b/apps/systemtags/lib/Search/TagSearchProvider.php index 6be6d959148..edce457adbc 100644 --- a/apps/systemtags/lib/Search/TagSearchProvider.php +++ b/apps/systemtags/lib/Search/TagSearchProvider.php @@ -102,7 +102,7 @@ class TagSearchProvider implements IProvider { $thumbnailUrl = ''; $link = $this->urlGenerator->linkToRoute('files.view.indexView', [ 'view' => 'tags', - ]) . '?dir=' . $tag->getId(); + ]) . '?dir=/' . $tag->getId(); $searchResultEntry = new SearchResultEntry( $thumbnailUrl, $this->l10n->t('All tagged %s …', [$tag->getName()]),