CMS Development

mwhite
Participant

HubDB Multiple Filtering

 

Hello @TRooInbound,

 

Thought maybe you could point me in the right direction. I'm just trying to query 2 columns at once here. Any idea?

 

{% for row in hubdb_table_rows(676060, "&windows__eq=3&webcategory__eq=CASHBOARD&limit=12") %}

 

Thanks

 

0 Upvotes
1 Reply 1
TRooInbound
Key Advisor

HubDB Multiple Filtering

Hi @mwhite,

 

Format for create query should be PropertyName=PropertyValue, if there is muliple columns query then you just need to append individual column filter by adding between them.

 

For eg.  if you need to filter records by considering 2 column values then your query be like PropertyOne=PropertyOneValue&PropertyTwo=PropertyTwoValue (Appending them by & symbol)

 

Please try below modified query we hope its works for you.

 

{% for row in hubdb_table_rows(676060,"windows=3&webcategory=CASHBOARD&limit=12") %}

 

Let us know if its work for you or not.

Thanks,

Team TRooInbound

0 Upvotes