mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 00:02:54 -04:00
fix(search): tags redirect route
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
parent
9cc641b13a
commit
3a11a49e48
1 changed files with 3 additions and 3 deletions
|
|
@ -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()]),
|
||||
|
|
|
|||
Loading…
Reference in a new issue