Filtering with custom select selected values - how to handle selected values for filtering purposes

Hi all,

I can’t figure out how to handle selected values from a “custom select” input to filter records in a BS4 table.
It work’s when i select one value, but does not handle multiple values.

First, here his how i designed this:

  1. The front end result (when it works with only one selected value)
  2. the Server connection :
    image
  3. the server action
  4. the query

If i select two values, it only take the first one.
image

I tried to change the type Number to Array, i tried the option “Multiple” but nothing work’s.
Neither i understand the purpose of “Linked field”…

have an idea ?

Hi Georges,

You are almost there!

Try this:

{{$_GET.groupid.split(",")}}

Keep your GET as a Number without Multiple. The Linked field isn’t related here, and is used when returning validation error messages.

–Ken

Top ! It worx fine, many thank’s !