Skip to content

Leading or trailing spaces in the search term give no results #3721

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

Leading or trailing spaces in the search term give no results. Cause: packages/web-pkg/src/composables/search/useSearch.ts:114 uses the term untrimmed.

Reproduction Steps

  1. Search kiwi or kiwi.

Expected Outcome

The same results as kiwi.

Actual Outcome

No results.

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