I seem to have some issues filtering a table using a select. I have my table set-up, which has an inner-join to a category column. I have a text input filter set-up to filter the name and reference column and this is working fine.
The select is set up to pull the name and value from the joined ‘category’ table (again working fine) and I have set up the query in the server connect (for the table) as select1.value. Nothing seems to be changing when I select one of the categories.
I have set this up now, so I have one server action (connection + query) for the dropdown referencing the service_category db table. I have another server action to populate the table, with the select1.value as a filter.
Still nothing happening, when the dropdown option is selected.
The service_category table has two colums, ServCatTitle and ServCatID (ServCatID is the foreign key on the ServCatID services table). At the moment, I have the select1 option properties set as Text: ServCatTitle and Value: ServCatID.
Could this be a problem with the join or am I missing something else?
Look in your browser console to confirm the values you are expecting are actually being set on the select element.
Also in the console, select the network action after performing the select filter and see if the value is being sent to the server… You can see this on the header tab.
Your filter is an OR statement, so make sure the other fields are not impacting the results.