# List relation not behaving the same way in two tabs

**URL:** <https://community.glideapps.com/t/list-relation-not-behaving-the-same-way-in-two-tabs/1490>\
**Category:** Report a Bug\
**Created:** [October 29, 2019, 6:58pm UTC](https://community.glideapps.com/t/list-relation-not-behaving-the-same-way-in-two-tabs/1490 "2019-10-29T18:58:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephanie\_Bonnet](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/stephanie_bonnet/32/105_2.png) [@Stephanie\_Bonnet](https://community.glideapps.com/u/Stephanie_Bonnet)\
**Post date:** [October 29, 2019, 6:58pm UTC](https://community.glideapps.com/t/list-relation-not-behaving-the-same-way-in-two-tabs/1490/1 "2019-10-29T18:58:32Z")

</div>

This question might be the same as [in this thread](https://community.glideapps.com/t/same-link-to-screen-button-different-inline-lists-in-different-tabs/505) but I’m not sure so posting anyway.

I have two separate tabs: one for villas and one for hotels. For each hotel or villa, I list the country and when you click on the country, it takes you to another tab where there is a list of all the hotels or all the villas in that country.  
I use the same component in the Villas or the Hotels tab for this: a relation component to the country. It works great in Villas, but not in Hotels.  
I checked the settings for each component and it’s exactly the same.

What’s the problem?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [October 30, 2019, 1:33am UTC](https://community.glideapps.com/t/list-relation-not-behaving-the-same-way-in-two-tabs/1490/2 "2019-10-30T01:33:23Z")

</div>

Are the values in the relation the same (I assume the Country Name)? No extra spaces or capital letters in one but not the other? Could you share some screenshots of your sheets that show the columns and values used for the relation?

---

<div class="post-metadata">

**Author:** ![Stephanie\_Bonnet](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/stephanie_bonnet/32/105_2.png) [@Stephanie\_Bonnet](https://community.glideapps.com/u/Stephanie_Bonnet)\
**Post date:** [October 30, 2019, 7:36pm UTC](https://community.glideapps.com/t/list-relation-not-behaving-the-same-way-in-two-tabs/1490/4 "2019-10-30T19:36:00Z")

</div>

I found the issue! I was using “list relation” as a component when I should have used “relation” only. All sorted. Thanks for having looked into it though.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [October 30, 2019, 7:51pm UTC](https://community.glideapps.com/t/list-relation-not-behaving-the-same-way-in-two-tabs/1490/5 "2019-10-30T19:51:42Z")

</div>

Just curious, so your Villa view had a Relation, but your Hotel view had a List Relation. I looked at your screenshots, but everything looked good to me. Glad you figured it out.

---

<div class="post-metadata">

**Author:** ![Stephanie\_Bonnet](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/stephanie_bonnet/32/105_2.png) [@Stephanie\_Bonnet](https://community.glideapps.com/u/Stephanie_Bonnet)\
**Post date:** [October 30, 2019, 8:22pm UTC](https://community.glideapps.com/t/list-relation-not-behaving-the-same-way-in-two-tabs/1490/6 "2019-10-30T20:22:26Z")

</div>

Yes, that was the case. They both needed to have “Relation” but only one had it.
