Skip to Content Skip to Menu

advanced filter

10 years 11 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 or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
10 years 11 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 or Create an account to join the conversation.

10 years 11 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 or Create an account to join the conversation.

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

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum