I am trying to achieve filtering for multiple columns, and it does not seem to be working properly. I am fairly new to hubDB and would appreciate any help! Thanks!
I think all you need to is concatenate the queryparms together with ‘&’. Be sure to do this before the line that calls hubdb_table_rows. If that’s not working, try printing out the query string before to confirm it looks as intended.
@boulter, I have another sidetracked question that I am not sure if it’s even possible. Is it possible to pass multiple values to one parameter? In this case, for example, having multiple categories selected. etc.
Thank you! That solved the issue! I can not combine all three filtering! For anyone else following this thread, I added this line at the end of the filtering code:
{% set queryparam = cat_queryparam ~ deg_queryparam ~ loc_queryparam %}
And update the hubdb_table_rows line to:
{% set table = hubdb_table_rows(676329, queryparam) %}