# Filter reads value as array even though its a text in the collection and DB. Thoughts?

**URL:** <https://community.weweb.io/t/filter-reads-value-as-array-even-though-its-a-text-in-the-collection-and-db-thoughts/14264>\
**Category:** Ask us anything\
**Tags:** filter, supabase, weweb\
**Created:** [October 30, 2024, 10:28pm UTC](https://community.weweb.io/t/filter-reads-value-as-array-even-though-its-a-text-in-the-collection-and-db-thoughts/14264 "2024-10-30T22:28:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![metalsteve81](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@metalsteve81](https://community.weweb.io/u/metalsteve81)\
**Post date:** [October 30, 2024, 10:28pm UTC](https://community.weweb.io/t/filter-reads-value-as-array-even-though-its-a-text-in-the-collection-and-db-thoughts/14264/1 "2024-10-30T22:28:32Z")

</div>

In my collection two of the columns seem to be coming in as text but when I use filter it shows them as arrays.

i deleted them and remade them, same problem. Deleted, remade with a different titles, same issue. always reads in the filter as an array which is messing up my filtering.

I know you cant see but this is secondary\_position in the filter  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/e/e9a6f0e0d85885835058fcefae99ba4734a68c56.png)

this is the collection

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/2/281dc4c6662bc6437820ef28ad869bf0691e2128.png)

as you can see its not set to define as an array. So I am not sure why its doing this.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/0/08c631817d071a96397cd2f68c432c5117d3e0d1.png)

Any clues?

Also this happens whether its in a group or not.

Thank you

---

<div class="post-metadata">

**Author:** ![metalsteve81](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@metalsteve81](https://community.weweb.io/u/metalsteve81)\
**Post date:** [October 30, 2024, 10:45pm UTC](https://community.weweb.io/t/filter-reads-value-as-array-even-though-its-a-text-in-the-collection-and-db-thoughts/14264/2 "2024-10-30T22:45:36Z")

</div>

I figured it out although I dont understand why it didnt work the other way so maybe its a bug?

but what I had to do is use the table that I made for the drop down menu instead of just a text column.

I hope that makes sense.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/c/c05727eb81f8f99baf5beecf2debed2a427d0e5e.png)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/b/bd1e83c043b4b39da467e5081432f4b5c4bc71f8.png)
