mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 08:16:43 -04:00
Fix linkToRoute
This commit is contained in:
parent
3500ef156a
commit
99e3b61ff5
1 changed files with 2 additions and 5 deletions
|
|
@ -122,11 +122,8 @@ class FilesSearchProvider implements IProvider {
|
|||
// Use shortened link to centralize the various
|
||||
// files/folder url redirection in files.View.showFile
|
||||
$link = $this->urlGenerator->linkToRoute(
|
||||
'files.view.index',
|
||||
[
|
||||
'dir' => dirname($path),
|
||||
'scrollto' => $result->getName(),
|
||||
]
|
||||
'files.View.showFile',
|
||||
['fileid' => $result->getId()]
|
||||
);
|
||||
|
||||
$searchResultEntry = new SearchResultEntry(
|
||||
|
|
|
|||
Loading…
Reference in a new issue