Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open search result directly #824

Open
refda opened this issue Feb 26, 2024 · 0 comments
Open

Open search result directly #824

refda opened this issue Feb 26, 2024 · 0 comments

Comments

@refda
Copy link

refda commented Feb 26, 2024

Dear Community,

unfortunately, the full text search results are not linked with the files directly.

Inside the unified search window other results are linked with the file. So I was modifying /lib/Search/UnifiedSearchProvider.php:

Instead of:
$this->get('link', $unified, $document->getLink()),

I am now using:
$this->get('link', $unified, "/f/".$document->getId()),
(but this fix is not working when using NC in a subdirectory)

How can I change this behaviour in the seperate fulltextsearch result page? And isn't this something what should be considered for general? After closing the file I am also able to locate it.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants