# Bootstrap Vue b-table filter

**URL:** <https://discourse.nodered.org/t/bootstrap-vue-b-table-filter/56187>\
**Category:** Dashboard\
**Tags:** uibuilder\
**Created:** [6 January 2022 01:09 UTC](https://discourse.nodered.org/t/bootstrap-vue-b-table-filter/56187 "2022-01-06T01:09:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheadehAnank](https://avatars.discourse-cdn.com/v4/letter/t/7ea924/32.png) [@TheadehAnank](https://discourse.nodered.org/u/TheadehAnank)\
**Post date:** [6 January 2022 01:09 UTC](https://discourse.nodered.org/t/bootstrap-vue-b-table-filter/56187/1 "2022-01-06T01:09:26Z")

</div>

You can see in the code below, I'm trying to build a list of several filtered tables. Any suggestions how I could filter the items in a b-table by two filter criteria?

b-table filter doesn't support more than one criteria, so I've tried the following passing the v-for "state" parameter through the :items, but thats not working.

```auto
<b-table	v-for="state in states"
               :items="ftrSNbyZN_State(state)" 
	       :filter="tab.toString()" :filter-function="ftrSNLayer">						
</b-table>

```

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [6 January 2022 02:06 UTC](https://discourse.nodered.org/t/bootstrap-vue-b-table-filter/56187/2 "2022-01-06T02:06:18Z")

</div>

Sorry, this is a boostrap-vue question, you may need to ask an a forum for that library.

---

<div class="post-metadata">

**Author:** ![TheadehAnank](https://avatars.discourse-cdn.com/v4/letter/t/7ea924/32.png) [@TheadehAnank](https://discourse.nodered.org/u/TheadehAnank)\
**Post date:** [6 January 2022 16:12 UTC](https://discourse.nodered.org/t/bootstrap-vue-b-table-filter/56187/3 "2022-01-06T16:12:15Z")

</div>

This works!

> [@TheadehAnank](#):
>
> `:filter="[tab.toString(), state.toString()]"`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [20 January 2022 16:12 UTC](https://discourse.nodered.org/t/bootstrap-vue-b-table-filter/56187/4 "2022-01-20T16:12:56Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
