fulltextsearch icon indicating copy to clipboard operation
fulltextsearch copied to clipboard

Open search result directly

Open refda opened this issue 1 year ago • 1 comments

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!

refda avatar Feb 26 '24 13:02 refda

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:

  1. The redirection you set up in the unified search for full text search does not work when you are in a subfolder.
  2. 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?

By the way, this issue seems similar to 845 and 249.

Haythem42 avatar Feb 25 '25 15:02 Haythem42