# CMS Nested collection + Filter

**URL:** <https://forum.finsweet.com/t/cms-nested-collection-filter/2532>\
**Category:** Attributes\
**Tags:** cmsfilter, cmsload\
**Created:** [February 20, 2024, 3:51am UTC](https://forum.finsweet.com/t/cms-nested-collection-filter/2532 "2024-02-20T03:51:31Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![frank](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/frank/32/2035_2.png) [@frank](https://forum.finsweet.com/u/frank)\
**Post date:** [February 20, 2024, 3:51am UTC](https://forum.finsweet.com/t/cms-nested-collection-filter/2532/1 "2024-02-20T03:51:31Z")

</div>

I have multiple nested collections. On my Teachers template I see my collections are showing the right items. But when I go to my search page “Find a teacher” my nested collections are showing all items instead of only the one that apply to the specific teacher. Therefore my filters are not working.

[https://apmqmta.webflow.io/en-ca/professeurs](https://apmqmta.webflow.io/en-ca/professeurs)

Read-only link: [Webflow - Apmqmta](https://preview.webflow.com/preview/apmqmta?utm_medium=preview_link&utm_source=designer&utm_content=apmqmta&preview=633dded86565f1c28168e273d6d23f06&pageId=656a29fb4a7bbf0a673663e7&locale=en-CA&workflow=preview)

---

<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:** [February 20, 2024, 12:08pm UTC](https://forum.finsweet.com/t/cms-nested-collection-filter/2532/2 "2024-02-20T12:08:28Z")

</div>

Hey @frank! You are missing the link to the current professor on the parent list.

You are currently linking to their own website. Therefore the script is failing.

 ![Screen Shot 2024-02-20 at 13.04.42](https://europe1.discourse-cdn.com/flex013/uploads/finsweet1/original/2X/6/6e31f0a7fcc1b5b64f2e9765ed7281bf887991d8.jpeg)

Could you please add either a link block as a wrapper or a hidden text link set to the current item to the setup?

If you are going to keep the external link, just be sure the current link comes first.

---

<div class="post-metadata">

**Author:** ![frank](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/frank/32/2035_2.png) [@frank](https://forum.finsweet.com/u/frank)\
**Post date:** [February 20, 2024, 2:39pm UTC](https://forum.finsweet.com/t/cms-nested-collection-filter/2532/3 "2024-02-20T14:39:02Z")

</div>

@Support-Luis Thank you very much!

Is there a reason why the CMS load shows only 100 results when the setting is set to render-all?

---

<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:** [February 20, 2024, 3:50pm UTC](https://forum.finsweet.com/t/cms-nested-collection-filter/2532/4 "2024-02-20T15:50:18Z")

</div>

You are missing the native pagination on the list. This is required for any CMS Load load-mode 😉

Could you add and test again?

---

<div class="post-metadata">

**Author:** ![frank](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/frank/32/2035_2.png) [@frank](https://forum.finsweet.com/u/frank)\
**Post date:** [February 28, 2024, 9:31pm UTC](https://forum.finsweet.com/t/cms-nested-collection-filter/2532/5 "2024-02-28T21:31:56Z")

</div>

@Support-Luis I had the mode render-all, I switched it to pagination as you mentioned. It’s still shows 100 results.

---

<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:** [February 29, 2024, 10:51am UTC](https://forum.finsweet.com/t/cms-nested-collection-filter/2532/6 "2024-02-29T10:51:55Z")

</div>

Hey @frank! For any load mode onn CMS Load it is required that Webflow’s pagination is active, you can see the checkbox in the image below.

 ![Screen Shot 2024-02-29 at 11.50.54](https://europe1.discourse-cdn.com/flex013/uploads/finsweet1/original/2X/8/81fedafc79cd4f725a6fb6dcb7b9ded019105cc5.jpeg)

---

<div class="post-metadata">

**Author:** ![frank](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/frank/32/2035_2.png) [@frank](https://forum.finsweet.com/u/frank)\
**Post date:** [April 9, 2024, 12:12am UTC](https://forum.finsweet.com/t/cms-nested-collection-filter/2532/7 "2024-04-09T00:12:26Z")

</div>

@Support-Luis Thanks, it worked. I’m just having now an issue with 2 filters that doesn’t work. Services and Regions. What am I 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:** [April 10, 2024, 7:42am UTC](https://forum.finsweet.com/t/cms-nested-collection-filter/2532/8 "2024-04-10T07:42:36Z")

</div>

Hey @frank! Can you please share a live link?

---

<div class="post-metadata">

**Author:** ![frank](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/frank/32/2035_2.png) [@frank](https://forum.finsweet.com/u/frank)\
**Post date:** [April 15, 2024, 5:39pm UTC](https://forum.finsweet.com/t/cms-nested-collection-filter/2532/9 "2024-04-15T17:39:31Z")

</div>

@Support-Luis Does this link works? [Webflow - Apmqmta](https://preview.webflow.com/preview/apmqmta?utm_medium=preview_link&utm_source=designer&utm_content=apmqmta&preview=633dded86565f1c28168e273d6d23f06&pageId=656a29fb4a7bbf0a673663e7&locale=en-CA&workflow=preview)

> **[Professeurs | APMQMTA](https://apm.studiopix.ca/fr-ca/professeurs)**
>
> Trouvez un professeur près de chez vous.

---

<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:** [April 16, 2024, 10:05pm UTC](https://forum.finsweet.com/t/cms-nested-collection-filter/2532/10 "2024-04-16T22:05:28Z")

</div>

@frank seems that the “service” collection is not properly nested 🤔

Can you double-check the setup for this collection?

---

<div class="post-metadata">

**Author:** ![frank](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/frank/32/2035_2.png) [@frank](https://forum.finsweet.com/u/frank)\
**Post date:** [May 29, 2024, 4:38pm UTC](https://forum.finsweet.com/t/cms-nested-collection-filter/2532/11 "2024-05-29T16:38:32Z")

</div>

@Support-Luis Thanks for your help. Now, I just have one remaining issue. The search bar won’t search by first name and last name (prénom and nom in french). What I’m I missing?  
[https://preview.webflow.com/preview/apmqmta?utm\_medium=preview\_link&utm\_source=designer&utm\_content=apmqmta&preview=633dded86565f1c28168e273d6d23f06&pageId=656a29fb4a7bbf0a673663e7&locale=en-CA&workflow=preview](https://preview.webflow.com/preview/apmqmta?utm_medium=preview_link&utm_source=designer&utm_content=apmqmta&preview=633dded86565f1c28168e273d6d23f06&pageId=656a29fb4a7bbf0a673663e7&locale=en-CA&workflow=preview)

---

<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:** [May 31, 2024, 10:09am UTC](https://forum.finsweet.com/t/cms-nested-collection-filter/2532/12 "2024-05-31T10:09:33Z")

</div>

You are missing the `fs-cmsfilter-field` attribute on the text elements. You currently only have the attribute needed to sort the list by name and last name 🙂
