nextcloud / nextcloud/server

Sort completed tasks last in unified search

Open
#22,838 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

How to support this request?

  • Please use the 👍 reaction to show that you are also in favor of this feature - we are using this information to decide which features to include in upcoming Nextcloud versions.
  • Please don't comment if you have no relevant information to add

It would be good to show completed tasks after uncompleted tasks in the unified search results. At the moment all tasks are shown indepentent of their completed state. Hence, although uncompleted tasks are certainly more important, they are sometimes only shown after clicking "show more results".

@georgehrke

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

No file, test, or entry point is named. Start by locating the unified-search implementation and the task-result ordering logic, then identify how completion state is represented. Done means uncompleted tasks consistently appear before completed tasks in unified search results, with the existing search behavior covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.