Skip to content

After a reload with "Current folder", the next searches silently search all files #3665

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

After a reload with "Current folder", the next searches silently search all files. Cause: packages/web-app-search/src/portals/SearchBar.vue:179 initialises locationFilterId as "all files"; SearchBarFilter.vue:93-111 shows the query value but never emits it.

Reproduction Steps

  1. Search with location "Current folder" and reload (or open the deep link with useScope=true).
  2. Search a new term.

Expected Outcome

The new search is limited to the folder.

Actual Outcome

The chip still shows "Current folder", but the preview and the results are unscoped (useScope=false).

Screenshot

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