# \[Need Help\] Ignore empty constraints not working on list filter

**URL:** <https://forum.bubble.io/t/need-help-ignore-empty-constraints-not-working-on-list-filter/258187>\
**Category:** Need help\
**Created:** [April 18, 2023, 11:12am UTC](https://forum.bubble.io/t/need-help-ignore-empty-constraints-not-working-on-list-filter/258187 "2023-04-18T11:12:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![StandUp](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/standup/32/169907_2.png) [@StandUp](https://forum.bubble.io/u/StandUp)\
**Post date:** [April 18, 2023, 11:12am UTC](https://forum.bubble.io/t/need-help-ignore-empty-constraints-not-working-on-list-filter/258187/1 "2023-04-18T11:12:06Z")

</div>

Hi, I am trying to show a list of genres, and have a filter set up so that I can also search those genres.

However, although the filter has “ignore empty constraints” ticked, when there is nothing in the search it is still not showing me the list of genres.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/9/b/9b65267ed4e820f6745749a90bb10c84fca86b2f.png)

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/d/c/dc7789182078046d0d9bb0775402f8be2c07ec1a.png)

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/7/c/7c0102d98317e319db8d83aa960222f35e0c95e5.png)

Have tried looking through the forum and elsewhere, can’t work out my mistake…

Thanks, A

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [April 18, 2023, 11:16am UTC](https://forum.bubble.io/t/need-help-ignore-empty-constraints-not-working-on-list-filter/258187/2 "2023-04-18T11:16:59Z")

</div>

Hi there, @StandUp… to the best of my knowledge, the _Ignore empty constraints_ setting doesn’t work with filters, so one way you could go is to add a conditional to the repeating group and change its data source when the constraint is empty.

Hope this helps.

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![artemzheg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/artemzheg/32/9651_2.png) [@artemzheg](https://forum.bubble.io/u/artemzheg)\
**Post date:** [April 18, 2023, 11:25am UTC](https://forum.bubble.io/t/need-help-ignore-empty-constraints-not-working-on-list-filter/258187/3 "2023-04-18T11:25:05Z")

</div>

As @mikeloc said - “ignore empty constraints” doesn’t work for _advanced_ filters:

> [@Create advanced search like behaviour](https://forum.bubble.io/t/create-advanced-search-like-behaviour/209265/8):
>
> First, there are times where you need to filter using other data types, or you’re **using an advanced filter (which is incompatible with Bubble’s ignore empty constraints checkbox)**

_([source](http://forum.bubble.io/t/create-advanced-search-like-behaviour/209265/8))_

For our advanced filter you can add something like `OR XXX:count is 0`, where XXX is the list you are filtering with.

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [April 18, 2023, 12:09pm UTC](https://forum.bubble.io/t/need-help-ignore-empty-constraints-not-working-on-list-filter/258187/4 "2023-04-18T12:09:38Z")

</div>

What type of element is your ‘Input Search book genre’? (and what Type is the value of it?)

In any case, just add `or Input Search book's value is empty` to the constraint to make it behave like it’s ignoring empty constraints.

(so the whole constraint will be`(Input Search book genre's value's Display is This Genre's Display) or (Input Search book's value is empty)`

Although you probably don’t need to be comparting ‘text’ values here… (surely you can compare the option set values… unless they are not the same?)

---

<div class="post-metadata">

**Author:** ![StandUp](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/standup/32/169907_2.png) [@StandUp](https://forum.bubble.io/u/StandUp)\
**Post date:** [April 18, 2023, 12:33pm UTC](https://forum.bubble.io/t/need-help-ignore-empty-constraints-not-working-on-list-filter/258187/5 "2023-04-18T12:33:43Z")

</div>

Thanks everyone, much appreciated and some good learning for me. A

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [June 27, 2023, 11:12am UTC](https://forum.bubble.io/t/need-help-ignore-empty-constraints-not-working-on-list-filter/258187/6 "2023-06-27T11:12:26Z")

</div>

Closed on June 27, 2023, 11:12am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
