advanced filter

10 years 5 months ago #237437 by thewebsurfer
advanced filter was created by thewebsurfer
hi i have a db column cb_works with an imploded array in it (multichoice select):
shop|*|office|*|laboratory|*| ecc...
i want to set a list filter on this column:
i tried advanced filter:
`cb_works` LIKE '%[Office]%'

doesnt work

Please Log in to join the conversation.

10 years 5 months ago #237448 by nant
Replied by nant on topic advanced filter

thewebsurfer wrote: hi i have a db column cb_works with an imploded array in it (multichoice select):
shop|*|office|*|laboratory|*| ecc...
i want to set a list filter on this column:
i tried advanced filter:
`cb_works` LIKE '%[Office]%'

doesnt work


of course it doesn't.

why are you using [ ]?
and why are you using Office instead of office ?

Please Log in to join the conversation.

10 years 5 months ago #237455 by thewebsurfer
Replied by thewebsurfer on topic advanced filter
i found [] method somewhere online, i tried {} and doesnt work too.

i use "Office" cause i can't change the CB dropdown option value, so i have the capitalization:
<option value="Office">Office</option>

Please Log in to join the conversation.

10 years 5 months ago #237456 by thewebsurfer
Replied by thewebsurfer on topic advanced filter
i solved with
`cb_works` LIKE '%Office%'

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.189 seconds

Facebook Twitter LinkedIn