# Trying to filter a collection list with a separate referenced collection

**URL:** <https://forum.finsweet.com/t/trying-to-filter-a-collection-list-with-a-separate-referenced-collection/2439>\
**Category:** Attributes\
**Created:** [January 29, 2024, 10:00pm UTC](https://forum.finsweet.com/t/trying-to-filter-a-collection-list-with-a-separate-referenced-collection/2439 "2024-01-29T22:00:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeff1](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/jeff1/32/1946_2.png) [@jeff1](https://forum.finsweet.com/u/jeff1)\
**Post date:** [January 29, 2024, 10:00pm UTC](https://forum.finsweet.com/t/trying-to-filter-a-collection-list-with-a-separate-referenced-collection/2439/1 "2024-01-29T22:00:17Z")

</div>

I have an issue where I am trying to filter a collection list of Companies by their Locations. I am using a separate Locations Collection that is referenced by each Company, but this filter is the only one on the page that is not working properly. The other 2 filters (which are part of the Company Collection) are filtering properly. My guess is that since the Location is _referenced_ that is why it is struggling. Any help or insight would be appreciated.

Here is the [staging link](https://bonfire-ventures-6f82fb37e1ccc466db8369.webflow.io/companies) and [read-only link](https://preview.webflow.com/preview/bonfire-ventures-6f82fb37e1ccc466db8369?utm_medium=preview_link&utm_source=designer&utm_content=bonfire-ventures-6f82fb37e1ccc466db8369&preview=e0d099ecb318256ba2bb99bd4af5cd8b&pageId=653bdca4fb0a05628a12eb2a&workflow=preview) for reference

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [January 29, 2024, 10:26pm UTC](https://forum.finsweet.com/t/trying-to-filter-a-collection-list-with-a-separate-referenced-collection/2439/2 "2024-01-29T22:26:58Z")

</div>

Hey @jeff1! For CMS Filter to return a result, the text content of both the filter and the card needs to be an exact match if your checkbox label is `Denver, CO` the element in your items with the `fs-cmsfilter-field="location"` attribute should be `Denver, CO` or `denver, co` (an exact text content match but not case sensitive). Fuzzy filtering will be available for CMS Filter V2.

---

<div class="post-metadata">

**Author:** ![jeff1](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/jeff1/32/1946_2.png) [@jeff1](https://forum.finsweet.com/u/jeff1)\
**Post date:** [January 29, 2024, 10:50pm UTC](https://forum.finsweet.com/t/trying-to-filter-a-collection-list-with-a-separate-referenced-collection/2439/3 "2024-01-29T22:50:24Z")

</div>

Thanks for taking a look @Support-Luis. One clarification I should make is that I have hidden text on each card with the exact content match in place for the 3 filter types.

![Screen Shot 2024-01-29 at 16.49.42](https://europe1.discourse-cdn.com/flex013/uploads/finsweet1/original/2X/6/650a05d94c8f62ecbfb8fb46830e13b4e1a67c4f.png)

This text has the `fs-cmsfilter-field="location"` applied to it to match the filter-label attribute on the checkbox/pill. It’s set up exactly the same as the Stage & Industry filters. Could there be something else that I’m missing?

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [January 29, 2024, 11:11pm UTC](https://forum.finsweet.com/t/trying-to-filter-a-collection-list-with-a-separate-referenced-collection/2439/4 "2024-01-29T23:11:33Z")

</div>

Can you publish the site with the text visible? I can only find it by inspecting the page and the text is missing the comma on the field with the identifier 🤔

---

<div class="post-metadata">

**Author:** ![jeff1](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/jeff1/32/1946_2.png) [@jeff1](https://forum.finsweet.com/u/jeff1)\
**Post date:** [January 30, 2024, 2:52pm UTC](https://forum.finsweet.com/t/trying-to-filter-a-collection-list-with-a-separate-referenced-collection/2439/5 "2024-01-30T14:52:28Z")

</div>

@Support-Luis logged on this morning to publish the site with the text visible for you and the location filter was working as expected. Wondering if all along it was a caching issue. I appreciate your time trying to help me solve it!

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [January 30, 2024, 4:58pm UTC](https://forum.finsweet.com/t/trying-to-filter-a-collection-list-with-a-separate-referenced-collection/2439/6 "2024-01-30T16:58:40Z")

</div>

@jeff1 yes, it could be that.

By the way, I notice a flickering when performing a search. This is caused by repeated scripts, please check your site settings and page settings to only add the script once to the relevant pages 🙏

Let me know if you need anything else!
