HubL filters do not apply to HubDB query results in custom modules

arinker
Top Contributor | Partner

If you fetch some data from a HubDB table in a "custom module" as follows, the HubL supported filters (http://bit.ly/hubl-filters) do not apply.

 

<ul>
{% for item in hubdb_table_rows(1234567, options) %}
	<li>{{ item.my_string | filter }}</li
{% endfor %}
</ul>

If you do the same in a "HubL module" it works.

 

Why is there a difference in the HubL filter behaviour?

 

0 Upvotes
1 Reply 1
John
Top Contributor | Platinum Partner

Please post the code you are using and check if your syntax has any errors.



Will you please help the community and give me some street cred by marking my answer as a solution if helped you? I'm fixing to buy a minivan and my cool points are running low.

Curious cats can find me at Ascend Inbound Marketing

0 Upvotes