I'm trying to filter a table I have using contain. The AssetClass column is TEXT. I want to display only rows that have the word Future-Index and Commodity.
I wrote the following but It doesn't work. I don't know how to use two different parameters for contains. Can anyone help me figure out? Thank you
As far as I know you can't use multiple parameters with contain. You could either create two separate table listings for each assetclass you want to list OR switch these columns to a SELECT option and use the in filter name.
{% set table = hubdb_table_rows(2595031,'assetclass__in=Future - Index,Commodity') %}
If this answer solved your question, please mark it as the solution.
As far as I know you can't use multiple parameters with contain. You could either create two separate table listings for each assetclass you want to list OR switch these columns to a SELECT option and use the in filter name.
{% set table = hubdb_table_rows(2595031,'assetclass__in=Future - Index,Commodity') %}
If this answer solved your question, please mark it as the solution.