Open search result directly
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!
Hi,
I encountered the same problem and I am working on it. I might have found a potential fix.
However, I am not entirely sure about your issue. It seems like you are encountering two problems:
- The redirection you set up in the unified search for full text search does not work when you are in a subfolder.
- You would like the redirection to also correctly lead to the specific file on the page dedicated to full text search (https://domain/apps/fulltextsearch/).
Is that correct?