Skip to content

Commit

Permalink
Merge pull request #45790 from nextcloud/backport/45781/stable28
Browse files Browse the repository at this point in the history
[stable28] fix(search): tags redirect route
  • Loading branch information
susnux authored Jun 11, 2024
2 parents 9cc641b + 3a11a49 commit 9db32d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/systemtags/lib/Search/TagSearchProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ public function search(IUser $user, ISearchQuery $query): SearchResult {
// 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()]),
Expand Down

0 comments on commit 9db32d1

Please sign in to comment.