[Bug]: Unified search triggers 2x request for the files search provider
Open
@chaitanyason9 is already working on this.
Since Jan 6, 2025.
0. Needs triage
31-feedback
bug
feature: search
performance 🚀
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
A request for the unified search, without any filter, triggers a request for the files search provider two times.
Steps to reproduce
- Go to files app
- Open network inspector
- Click on the search icon
- Enter a search string
- See two requests for
/ocs/v2.php/search/providers/files/searchwith the same data and response.
Expected behavior
Only one request ;)
Nextcloud Server version
master
Additional info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.