Skip to content

Folder-scoped search returns the scope folder itself #3726

Open

Description

@AlexAndBear

Describe the bug

Folder-scoped search includes the scope folder itself. In Web, “Current folder” therefore returns the folder the user is already inside.

Steps to reproduce

  1. Create new folder/a/.
  2. Open a in Web and select “Current folder” in the search bar.
  3. Search for a.

Expected behavior

Only matching contents of a, including descendants, appear.

Actual behavior

The current folder a itself appears as a search result, although it is located in new folder.

Details

# Deployment configuration not provided.

Additional context

Web sends the current folder’s resource ID as scope. The backend currently explicitly includes the scope folder itself: scope test.

Activity

  1. AlexAndBear commented on Oct 14, 2026

    @AlexAndBear
    MemberAuthor

    @tbsbdr Flagging this for you since search is important to you: Web’s “Current folder” search currently returns the current folder itself.

  2. moved this from Qualification to Prio <= 3 in OpenCloud Team Boardon Oct 28, 2026
  3. self-assigned this
    on Nov 18, 2026
  4. moved this from Prio <= 3 to Needs Review in OpenCloud Team Boardon Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions