Thanks Ben, you gave me an idea: I deleted the server connect and re-did it quick and it cleaned up the mess.
I wanted multiple keywords selection passed over, I tried $GET filter as an array, but it gave me a 500 error. And “text” filter didn’t pass multiple values:
And when I add a split string $_GET.filter.split(',') to my query condition, the “text” filter does passes multiple keyword values but then I get an ‘Array to string conversion’ error message from the connection.php file. Any insights on the right setup?
For future readers, I think I’ve fixed my “Array to string conversion” issue:
First, I’ve reverted back to an array$GET.filter (my filter can have one keyword or several).
Then, I used in instead of contains in the text condition and I converted the array (of my GET.filter variable) to string (to which I apply a comma split)