# Visibity condition issue for record filtering

**URL:** <https://community.noloco.io/t/visibity-condition-issue-for-record-filtering/1373>\
**Category:** Bugs\
**Created:** [October 23, 2024, 1:54pm UTC](https://community.noloco.io/t/visibity-condition-issue-for-record-filtering/1373 "2024-10-23T13:54:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![onlymatt](https://avatars.discourse-cdn.com/v4/letter/o/48db29/32.png) [@onlymatt](https://community.noloco.io/u/onlymatt)\
**Post date:** [October 23, 2024, 1:54pm UTC](https://community.noloco.io/t/visibity-condition-issue-for-record-filtering/1373/1 "2024-10-23T13:54:18Z")

</div>

Short summary: collection filter is only visible under certain conditions if those conditions change while the filter is set then you can’t remove the filter setting.

I have a filter field on a collection to show “Errors” on the records. The filter field is only visible when the collection contains errors. The error is an airtable formula field that returns either “Good” or “Error” based on certain conditions. It allows me to filter records with “Error” in my noloco collection for the purpose of correcting them. The problem is that when I correct all the errors the filter field disappears and I can’t remove the filter without removing the parameter from the URL.

Obviously, I can remove the visibility conditions as a short terms fix but the visibility conditions is a short term fix to clean up how searching and filtering gets overcrowded on noloco desktop.

 ![Screenshot 2024-10-23 at 9.52.51 AM](https://europe1.discourse-cdn.com/flex005/uploads/noloco/original/1X/f2a315c30b1a44e9781c7cef120b16adc111e8fc.png)

The solution seems to be that if a filter is removed from visibility its conditions should be automatically removed. Or, stay visible as long as a filter is selected.

---

<div class="post-metadata">

**Author:** ![darragh](https://dub1.discourse-cdn.com/flex005/user_avatar/community.noloco.io/darragh/32/12_2.png) [@darragh](https://community.noloco.io/u/darragh)\
**Post date:** [October 23, 2024, 2:27pm UTC](https://community.noloco.io/t/visibity-condition-issue-for-record-filtering/1373/2 "2024-10-23T14:27:23Z")

</div>

Just to summarize @onlymatt

- You have a filter set on `Field A`
- You have visibility rules setup on the filter for `Field A`
- When that filter is hidden, any existing filter is still applied
- You would expect that filter to no longer be applied

If what I’ve summarized is true, it does sound like a bug we should take a look at alright.

---

<div class="post-metadata">

**Author:** ![onlymatt](https://avatars.discourse-cdn.com/v4/letter/o/48db29/32.png) [@onlymatt](https://community.noloco.io/u/onlymatt)\
**Post date:** [October 23, 2024, 2:38pm UTC](https://community.noloco.io/t/visibity-condition-issue-for-record-filtering/1373/3 "2024-10-23T14:38:41Z")

</div>

That’s exactly right
