# How to filter a list in your app

**URL:** <https://forum.adalo.com/t/how-to-filter-a-list-in-your-app/21725>\
**Category:** Get Help\
**Created:** [January 7, 2022, 4:41pm UTC](https://forum.adalo.com/t/how-to-filter-a-list-in-your-app/21725 "2022-01-07T16:41:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nigelb](https://avatars.discourse-cdn.com/v4/letter/n/b5ac83/32.png) [@Nigelb](https://forum.adalo.com/u/Nigelb)\
**Post date:** [January 7, 2022, 4:41pm UTC](https://forum.adalo.com/t/how-to-filter-a-list-in-your-app/21725/1 "2022-01-07T16:41:44Z")

</div>

There is this very good Adalo tutorial on how to filter a list in your app \> [How to make a list your users can filter - YouTube](https://www.youtube.com/watch?v=dflwpniED-s)

That works fine as long as Categories & Movies are related such that:  
A Category can have multiple Movies & A Movie belongs to one Category

But how could I set this up when  
A Movie can have multiple Categories & A Category can have multiple Movies?

In this latter case the option to set a Custom Filter on the list of ‘Current Movie \> Categories\> Name’ isn’t available

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [January 7, 2022, 5:00pm UTC](https://forum.adalo.com/t/how-to-filter-a-list-in-your-app/21725/2 "2022-01-07T17:00:43Z")

</div>

Hi @Nigelb,

Welcome to the community 🥳

Add a filter Current Movie \> Categories All \> Contains \> Other components\>Selected Category ( Drop down Name).

Thank you

---

<div class="post-metadata">

**Author:** ![Nigelb](https://avatars.discourse-cdn.com/v4/letter/n/b5ac83/32.png) [@Nigelb](https://forum.adalo.com/u/Nigelb)\
**Post date:** [January 7, 2022, 6:56pm UTC](https://forum.adalo.com/t/how-to-filter-a-list-in-your-app/21725/3 "2022-01-07T18:56:45Z")

</div>

Thanks for the welcome… as you can probably see I’m going up a learning curve, lol.

Many thanks for the solution, that seems to do what I want. I’ll test a bit further when my internet connection is better!

---

<div class="post-metadata">

**Author:** ![Nigelb](https://avatars.discourse-cdn.com/v4/letter/n/b5ac83/32.png) [@Nigelb](https://forum.adalo.com/u/Nigelb)\
**Post date:** [January 7, 2022, 7:16pm UTC](https://forum.adalo.com/t/how-to-filter-a-list-in-your-app/21725/4 "2022-01-07T19:16:04Z")

</div>

OK, just managed to test a little further…

The only issue I see is that with nothing selected in the drop-down (ie it says Select…) with the one to many relationship I see all movies in the list (as I’d want) but with the many to many relationship I see none.

What I’d really want is to see all movies showing if no selection is made, if that makes sense.

Thanks!

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [January 8, 2022, 10:12am UTC](https://forum.adalo.com/t/how-to-filter-a-list-in-your-app/21725/5 "2022-01-08T10:12:05Z")

</div>

You can add another list and add a visibility condition for that list Other Components\> Category( drop down name )\> Name\> is equal to\> empty.

Like this.

Thank you

---

<div class="post-metadata">

**Author:** ![Nigelb](https://avatars.discourse-cdn.com/v4/letter/n/b5ac83/32.png) [@Nigelb](https://forum.adalo.com/u/Nigelb)\
**Post date:** [January 9, 2022, 1:04pm UTC](https://forum.adalo.com/t/how-to-filter-a-list-in-your-app/21725/6 "2022-01-09T13:04:18Z")

</div>

Wonderful.

Thanks very much for taking the time to record that video. Very much appreciated.

All sorted now!

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [January 9, 2022, 1:16pm UTC](https://forum.adalo.com/t/how-to-filter-a-list-in-your-app/21725/7 "2022-01-09T13:16:00Z")

</div>

Great and Your Welcome!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [January 19, 2022, 1:16pm UTC](https://forum.adalo.com/t/how-to-filter-a-list-in-your-app/21725/8 "2022-01-19T13:16:30Z")

</div>

Closed on January 19, 2022, 1:16pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
