# settings_ui: Match all query words in search \(\#56835\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/b224588d440f018aa0ed5012a0021b8c6232fc3e)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: b224588d440f018aa0ed5012a0021b8c6232fc3e

Requested commit: b224588d440f018aa0ed5012a0021b8c6232fc3e

Commit: b224588d440f018aa0ed5012a0021b8c6232fc3e

Tree: 54b789cb93c8e027a4eb8552d22782345c3410fc

Author: Kunall Banerjee

Committer: GitHub

## Message

```
settings_ui: Match all query words in search (#56835)

Settings search treated multi-word queries as OR, so “tab size” matched
any document whose words contained a prefix of “tab” or “size” --
flooding results with unrelated entries like “Show Tab Bar” and “Maximum
Tabs”.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [ ] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [ ] Performance impact has been considered and is acceptable

Closes #56244.

Release Notes:

- Fixed settings UI search returning unrelated results for multi-word
queries
```

## Parents

- [ebed7d39a9a36476e68f145e585058e282aeda9f](https://git.cafe/gitcafe/zed/commit/ebed7d39a9a36476e68f145e585058e282aeda9f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/b224588d440f018aa0ed5012a0021b8c6232fc3e?format=markdown)
