Skip to content

A tag-only search without matches says "Search for files" instead of "No results found" #3879

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

A search with only a tag filter and no matches shows the empty-search text "Search for files" instead of "No results found". Cause: hasFilter in packages/web-app-files/src/components/Search/List.vue:312-319 ignores the tag filter (q_tags).

Reproduction Steps

  1. Open the search results with only a tag filter that matches nothing (e.g. /search/list/all?q_tags=doesnotexist).

Expected Outcome

"No results found".

Actual Outcome

"Search for files", although the Tags filter is active.

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