Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(search): tags redirect route
Signed-off-by: skjnldsv <[email protected]>
  • Loading branch information
skjnldsv authored and susnux committed Jun 11, 2024
commit 3a11a49e485a47e7a77f4d8339238f3643069b10
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