# search: Do not consider filters if they are toggled off \(\#30162\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a127ff4a4f207214b0cf17e64a97c991b3d7d032

Requested commit: a127ff4a4f207214b0cf17e64a97c991b3d7d032

Commit: a127ff4a4f207214b0cf17e64a97c991b3d7d032

Tree: d9943bc1367f72c3178d981cadc7f023fa265a7d

Author: Finn Evers

Committer: GitHub

## Message

```
search: Do not consider filters if they are toggled off (#30162)

Closes #30134

This PR ensures that path filters are only applied to searches when the
filters are actually enabled (and visible).

Release Notes:

- Fixed the project search considering included and excluded filters
after toggling them off.
```

## Parents

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

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