CMS Development

mwhite
Participant

Multiple Filters

SOLVE

Hello,

What is the best way to filter multiple columns? I can't get something like this to work?

 

{% for row in hubdb_table_rows(tableID, "&bar__gt=10&column__gt=value") %}

 

Thanks

0 Upvotes
1 Accepted solution
mwhite
Solution
Participant

Multiple Filters

SOLVE

I figured it out:

 

{% set winQuery = "windows__eq=3" %}
{% set webcatQuery = winQuery ~ "&webcategory__eq=NONSEAL" %}
{% for row in hubdb_table_rows(676060, webcatQuery ) %}

View solution in original post

0 Upvotes
1 Reply 1
mwhite
Solution
Participant

Multiple Filters

SOLVE

I figured it out:

 

{% set winQuery = "windows__eq=3" %}
{% set webcatQuery = winQuery ~ "&webcategory__eq=NONSEAL" %}
{% for row in hubdb_table_rows(676060, webcatQuery ) %}

0 Upvotes