# Multiple Relationships

**URL:** <https://forum.adalo.com/t/multiple-relationships/16721>\
**Category:** Database\
**Created:** [September 1, 2021, 7:04pm UTC](https://forum.adalo.com/t/multiple-relationships/16721 "2021-09-01T19:04:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![clswift3313](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@clswift3313](https://forum.adalo.com/u/clswift3313)\
**Post date:** [September 1, 2021, 7:04pm UTC](https://forum.adalo.com/t/multiple-relationships/16721/1 "2021-09-01T19:04:36Z")

</div>

Hello,

I am trying to create a custom filter list that displays medicinal plants that “cure” the kind of feeling that a patient wants to get rid of or feel.

So, a plant can have multiple feelings and a feeling can have multiple plants.

Every time I try to relate the two database collections and add a filter drop down menu, I get a bug that I cannot find nor have any clue to how to tackle the issue.

Can anyone please help!?

---

<div class="post-metadata">

**Author:** ![berwickgeek](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/berwickgeek/32/10804_2.png) [@berwickgeek](https://forum.adalo.com/u/berwickgeek)\
**Post date:** [September 1, 2021, 8:00pm UTC](https://forum.adalo.com/t/multiple-relationships/16721/2 "2021-09-01T20:00:09Z")

</div>

How does the bug present itself, ie what actually happens? Can you share some screenshots? If you can show collections and relationships also that would help.

---

<div class="post-metadata">

**Author:** ![clswift3313](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@clswift3313](https://forum.adalo.com/u/clswift3313)\
**Post date:** [September 1, 2021, 8:04pm UTC](https://forum.adalo.com/t/multiple-relationships/16721/3 "2021-09-01T20:04:07Z")

</div>

When trying to make connections for filters I get bug that is meant to tell you that you have the wrong relationship type selected…

Like this for example…

 ![Screen Shot 2021-09-01 at 12.03.42 PM](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/9/93ec82e5907c5705bc7295643757b6f20541e949.jpeg)

---

<div class="post-metadata">

**Author:** ![berwickgeek](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/berwickgeek/32/10804_2.png) [@berwickgeek](https://forum.adalo.com/u/berwickgeek)\
**Post date:** [September 1, 2021, 10:50pm UTC](https://forum.adalo.com/t/multiple-relationships/16721/4 "2021-09-01T22:50:06Z")

</div>

Is a strain a plant?

I’m not sure I’d call this a bug, more that Adalo is trying to show you the relationships between your collections and in a way, a many to many relationship can repeat forever… so that’s why you’re seeing this.

If your goal is to show a list of strains based on a feeling then I’d do this:

- Add a list to your page, a list of Strain
- Add a drop down, based on Feelings
- Set a filter on your list where Current Strain \> Feelings \> All contains the selected feeling from the drop down

This should work - however only shows the items when you select something from the drop down. If you wanted to show everything and then filter when someone selects something then I’d probably copy/paste the list, remove the filter, and then add a ‘show only’ rule to only show when the drop-down is equal to empty.

---

<div class="post-metadata">

**Author:** ![clswift3313](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@clswift3313](https://forum.adalo.com/u/clswift3313)\
**Post date:** [September 3, 2021, 6:17pm UTC](https://forum.adalo.com/t/multiple-relationships/16721/5 "2021-09-03T18:17:57Z")

</div>

I got it! Thank you! Figuring out the relationships in the database is definitely not my strong suit.
