# Legacy Filter and search stopped working

**URL:** <https://forum.finsweet.com/t/legacy-filter-and-search-stopped-working/4748>\
**Category:** Attributes\
**Tags:** attributes-v1\
**Created:** [May 9, 2025, 9:32pm UTC](https://forum.finsweet.com/t/legacy-filter-and-search-stopped-working/4748 "2025-05-09T21:32:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jillbascome](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/jillbascome/32/1493_2.png) [@jillbascome](https://forum.finsweet.com/u/jillbascome)\
**Post date:** [May 9, 2025, 9:32pm UTC](https://forum.finsweet.com/t/legacy-filter-and-search-stopped-working/4748/1 "2025-05-09T21:32:39Z")

</div>

## Description

The filter and search attributes I am using for this page are no longer working at all. The search just makes the section go blank and the filter doesn’t filter any of items that I can thankfully still see in the drop down. I am using the Legacy version and I am afraid to switch to V2 on this project since I have so many attributes doing different things that I would have to reconfigure everything. So my Legacy Attributes are not working after working previously.

## Site URL

**[Required:** [Please provide a staging/production URL where we can see the issue](https://embargonotice.webflow.io/produce-catalogue)]

- URL: [Your staging URL here]
- Webflow Read-only link: [[Your Webflow Read-only link here]](https://preview.webflow.com/preview/embargonotice?utm_medium=preview_link&utm_source=designer&utm_content=embargonotice&preview=2e29e1d3721c84bd8fed760aba33f39c&pageId=67eb3dd3031551176ee8f161&locale=en&workflow=preview)

## Steps to Reproduce

1. [First step] I checked the published site
2. [Second step] When nothing was working I went to check to see if all the attributes were in place
3. [Third step] I republished to see if it just needed a refresh  
…

## Expected Behavior

[What did you expect to happen?] I expected to type in an item in the search and have it filter out and in the dropdown select an item that would filter out the items with that name same as the search

## Actual Behavior

[What actually happened?] In using the search the whole cms disappears and with the filter the dropdown does indeed show all the items but nothing is filtered in the cms.

## Video/Screenshots

**Required:** Please provide a short screen recording showing the issue

- Video link: [([Troubleshooting Page Attributes 🔍 | Loom](https://www.loom.com/share/c637f3e6ffb2412185d40481d2477592?sid=a20d338b-3f4c-49b7-a9ee-03bb720e1592))]
- Screenshots (if applicable): [Upload or link to screenshots]

## Additional Context

- Browser: [e.g., Chrome 120, Safari 17]
- Device: [e.g., Desktop, iPhone 14]

> _NDA Notice:_ If you’re under an NDA, please feel free to send us a Direct Message/Email with the above information.

---

<div class="post-metadata">

**Author:** ![Support-Pedro](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-pedro/32/6470_2.png) [@Support-Pedro](https://forum.finsweet.com/u/Support-Pedro)\
**Post date:** [May 10, 2025, 2:53am UTC](https://forum.finsweet.com/t/legacy-filter-and-search-stopped-working/4748/2 "2025-05-10T02:53:04Z")

</div>

Hi @jillbascome!

You’re missing the `fs-cmsfilter-field="name"` attribute on the “Select Field” and the text elements “produce\_cat\_item\_name”.

Add them here:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/finsweet1/original/2X/f/f9fddd3163f68bc6e4258ed0acdc048860f8e238.jpeg)  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/finsweet1/original/2X/0/0e97669a69a5aeaedce69b885910fe55e37914fb.jpeg)

Also, it looks like you have a duplicate script. If it’s already added in your “All Sites Custom Code settings”, there’s no need to include it again in the page `<head>`.  
Just keep one and it will work great.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/finsweet1/original/2X/c/c835dc491297cc709c64d4495239a71cf33c88a6.jpeg)

I also highly recommend migrating to **V2** for improved performance and better long-term support.  
Let me know if you need any help!

---

<div class="post-metadata">

**Author:** ![jillbascome](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/jillbascome/32/1493_2.png) [@jillbascome](https://forum.finsweet.com/u/jillbascome)\
**Post date:** [May 10, 2025, 5:50pm UTC](https://forum.finsweet.com/t/legacy-filter-and-search-stopped-working/4748/3 "2025-05-10T17:50:24Z")

</div>

https://www.loom.com/embed/102b043516e143c8a82feb3796f182e8?sid=a7806c3d-4055-4ce4-877f-1c24cbe8b889

 ![Screenshot 2025-05-10 at 1.37.34 PM](https://europe1.discourse-cdn.com/flex013/uploads/finsweet1/original/2X/0/0c40d8a25880ca4c260681e3dee3cd35a577f546.jpeg)  
 ![Screenshot 2025-05-10 at 1.40.16 PM](https://europe1.discourse-cdn.com/flex013/uploads/finsweet1/original/2X/6/66087a1b9286da297badeed0e9dfc6f7f6394cb8.png)  
 ![Screenshot 2025-05-10 at 1.40.47 PM](https://europe1.discourse-cdn.com/flex013/uploads/finsweet1/original/2X/e/e26e48cee552a9001cfa4b8aec3fc68dcb3d2fd2.png)

Hi Pedro,  
I think I did everything you recommended but still. I removed the duplicate code from the head of the page. And the loom video above shows what I did. I so want to migrate everything over to V2 but I am afraid to muck it up since I literally just submitted it for review 2 days ago. If/When they come back to me with revisions I will do it then. But if you can help me just get this little irksome issue straight before Monday or Tuesday just to get across the finish line it would be greatly appreciated. I removed the duplicate code from the head of the page. (see imgs)  
As always your help is greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Support-Pedro](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-pedro/32/6470_2.png) [@Support-Pedro](https://forum.finsweet.com/u/Support-Pedro)\
**Post date:** [May 11, 2025, 12:17am UTC](https://forum.finsweet.com/t/legacy-filter-and-search-stopped-working/4748/4 "2025-05-11T00:17:20Z")

</div>

Hi @jillbascome!

Excuse me if I didn’t explain myself well. Here is a quick Loom Video explaining step by step how to change your current setup to the correct one.

https://www.loom.com/embed/a5ad59e7c6f2442f94f37da20156f2cf?sid=b8767e76-a9d5-482f-a1e7-5f25017fa2d6

Let me know how it goes!
