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

Unified search has different behavior for file results vs fulltextsearch results #845

Open
mahoneyr opened this issue Jun 23, 2024 · 1 comment

Comments

@mahoneyr
Copy link

mahoneyr commented Jun 23, 2024

When using the unified search function, file results use the openfile function, as in:
https://nextcloud.server/index.php/apps/files/files/######?dir=/pathtofile&openfile=true

This opens the selected file directly.

However, fulltextsearch results use the scrollto function, as in:
https://nextcloud.server/index.php/apps/files/files?dir=/pathtofile/&scrollto=filename

The scrollto function doesn't seem to work in v28 or v29, so it just shows the containing directory.

Would it be possible to use the openfile function for fulltextsearch results instead of the scrollto function?

Thanks!

@XueSheng-GIT
Copy link

Duplicate of nextcloud/files_fulltextsearch#249.

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

No branches or pull requests

2 participants