Skip to content

List filters treat !, ^ and $ in names as search operators #4227

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

The filter fields of the list views read !, ^, $, = and | as Fuse operators, so typing part of a name with these characters hides the item or finds nothing. defaultFuseOptions in web-pkg/src/helpers/fuse.ts sets useExtendedSearch: true, and the raw input goes straight into fuse.search() (Shared with me/others, via link, trash, spaces, admin lists, members, app store).

Reproduction Steps

  1. Receive shares named x-!bang, x-price$, x-^caret and x-plain
  2. Open Shares > Shared with me
  3. Type !bang, price$ and ^caret into the filter

Expected Outcome

Each term shows the share whose name contains it.

Actual Outcome

!bang shows every other share but not x-!bang. price$, the full name x-price$ and ^caret show nothing. plain works.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions