callmemagnus / nextcloud-searchpage

App for Nextcloud providing a proper search page
7 stars 3 forks source link

[EVOLUTION] click on a file found with full text search should open the file - not the directory #39

Open ferdiga opened 2 months ago

ferdiga commented 2 months ago

Philosophy of this application Version 1.2.27 the results shows the filename, but clicking on it opens the directory not the file itself (with pdf viewer or collabora etc).

if there are some 100 files in the directory this is not very helpful

callmemagnus commented 2 months ago

hello,

Thanks for the suggestions.

Only information returned by the provider could eventually be used to be displayed.

This application relies on the other providers contract implementation. As far as I know, that includes:

The urls used to present the result is the resourceUrl returned by the provider.

Files seems to not handle that url correctly. Looks more like an upstream bug.

Regards,