nextcloud / nextcloud/server

[Bug]: Unified search triggers 2x request for the files search provider

Open
#49,965 3 comments 1 reaction 1 assignee View on GitHub

@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: ⚠️
Bug description

A request for the unified search, without any filter, triggers a request for the files search provider two times.

Steps to reproduce
  1. Go to files app
  2. Open network inspector
  3. Click on the search icon
  4. Enter a search string
  5. See two requests for /ocs/v2.php/search/providers/files/search with the same data and response.
Expected behavior

Only one request ;)

Nextcloud Server version

master

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.