nextcloud / nextcloud/server

Change the order of the search providers according to the order of apps in the navigation bar

Open
#41,243 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: search
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Please, change the order how the search results are shown according to the /ocs/v2.php/search/providers in accordance of the order of apps shown on the navigation bar. Usually Files should be at the first place.

This will help developers of third-party apps to use more actual list of search providers, see eg https://github.com/callmemagnus/nextcloud-searchpage

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.

Research direction

Start by tracing the /ocs/v2.php/search/providers endpoint and the code that determines app order in the navigation bar. Verify how providers are ordered in the endpoint and search results, then confirm that the returned order follows the navigation order, with Files first when applicable.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, search
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.