# I need to Implement Filter on Smart Collection

**URL:** <https://community.forestadmin.com/t/i-need-to-implement-filter-on-smart-collection/2935>\
**Category:** Help me!\
**Created:** [July 20, 2021, 6:06am UTC](https://community.forestadmin.com/t/i-need-to-implement-filter-on-smart-collection/2935 "2021-07-20T06:06:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mayur\_Malaviya](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/mayur_malaviya/32/2638_2.png) [@Mayur\_Malaviya](https://community.forestadmin.com/u/Mayur_Malaviya)\
**Post date:** [July 20, 2021, 6:06am UTC](https://community.forestadmin.com/t/i-need-to-implement-filter-on-smart-collection/2935/1 "2021-07-20T06:06:58Z")

</div>

I have created Smart Collection and It do not shows filter on the smart collection page.

![smart collection](https://europe1.discourse-cdn.com/flex013/uploads/forest/optimized/2X/b/bb9633128fd470739ae62f32cc7365bc03e1faf7_2_690x58.png)

I would like to implement the filter functionality. How it can be enable or show on the frontend page?

Thanks

## Context

Please provide any relevant information about your setup.

- Package Version:
- Express Version:
- Sequelize Version:
- Database Dialect:
- Database Version:
- Project Name:

---

<div class="post-metadata">

**Author:** ![Arnaud\_Moncel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud_moncel/32/24_2.png) [@Arnaud\_Moncel](https://community.forestadmin.com/u/Arnaud_Moncel)\
**Post date:** [July 20, 2021, 9:18am UTC](https://community.forestadmin.com/t/i-need-to-implement-filter-on-smart-collection/2935/3 "2021-07-20T09:18:56Z")

</div>

Hi @Mayur_Malaviya 👋 welcome to our community !  
Have you take a look on this documentation [Create and manage Smart Fields - Documentation](https://docs.forestadmin.com/documentation/reference-guide/fields/create-and-manage-smart-fields#filtering) ?

All fields in a smart collection are actually smart fields, so you should be able to use the same syntax to enable filtering

Let me know if that help !

---

<div class="post-metadata">

**Author:** ![Mayur\_Malaviya](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/mayur_malaviya/32/2638_2.png) [@Mayur\_Malaviya](https://community.forestadmin.com/u/Mayur_Malaviya)\
**Post date:** [July 21, 2021, 5:42am UTC](https://community.forestadmin.com/t/i-need-to-implement-filter-on-smart-collection/2935/4 "2021-07-21T05:42:54Z")

</div>

@Arnaud_Moncel Thanks for your response.  
I know about this filter which can be implement on **Smart Field** but my concern is different.  
I have **created smart collection** and It don’t allow me to implement filter.

 ![smart collection1](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/e/e04cd6e77d593cb1e2c4ea2e6aebcf8b23705d04.png)

Please looked at my smart collection. It seems no filter functionality.  
Thanks

---

<div class="post-metadata">

**Author:** ![Arnaud\_Moncel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud_moncel/32/24_2.png) [@Arnaud\_Moncel](https://community.forestadmin.com/u/Arnaud_Moncel)\
**Post date:** [July 21, 2021, 7:36am UTC](https://community.forestadmin.com/t/i-need-to-implement-filter-on-smart-collection/2935/5 "2021-07-21T07:36:59Z")

</div>

Hi 👋 If you put `isFilterable: true` on each field you want to be filterable, you will be able to enable it on field settings

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/b/b009188f94aeaf7e25945774b9424ca0b71acdc2.png)  
let me know

---

<div class="post-metadata">

**Author:** ![Mayur\_Malaviya](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/mayur_malaviya/32/2638_2.png) [@Mayur\_Malaviya](https://community.forestadmin.com/u/Mayur_Malaviya)\
**Post date:** [July 21, 2021, 8:49am UTC](https://community.forestadmin.com/t/i-need-to-implement-filter-on-smart-collection/2935/6 "2021-07-21T08:49:54Z")

</div>

This can be happen in normal collection but as I mention earlier, here I have created **smart collection** it won’t allow me to enable filter. It is strictly disabled.

 ![pm](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/2/265aa289b7ca7e5144f2e250d232c80bfb957d50.png)

---

<div class="post-metadata">

**Author:** ![Arnaud\_Moncel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud_moncel/32/24_2.png) [@Arnaud\_Moncel](https://community.forestadmin.com/u/Arnaud_Moncel)\
**Post date:** [July 21, 2021, 9:30am UTC](https://community.forestadmin.com/t/i-need-to-implement-filter-on-smart-collection/2935/7 "2021-07-21T09:30:05Z")

</div>

I understand, but the example I show you above is a smart collection !  
If you create your smart collection like that

```javascript
collection('smart', {
  actions: [],
  fields: [{
    field: 'fullName',
    isFilterable: true,
    type: 'String',
  },{
    field: 'toto',
    isFilterable: true,
    type: 'String',
  }],
  segments: [],
});

```

then you restart your server and refresh your browser you will be able to enable filtering.

---

<div class="post-metadata">

**Author:** ![Mayur\_Malaviya](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/mayur_malaviya/32/2638_2.png) [@Mayur\_Malaviya](https://community.forestadmin.com/u/Mayur_Malaviya)\
**Post date:** [July 21, 2021, 10:17am UTC](https://community.forestadmin.com/t/i-need-to-implement-filter-on-smart-collection/2935/8 "2021-07-21T10:17:26Z")

</div>

@Arnaud_Moncel Okay, I got it.  
Thanks for your support and prompt response.
