CMS Development

arinker
Top Contributor | Partner
Top Contributor | Partner

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

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
Top Contributor | Platinum Partner

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

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



I like kudos almost as much as cake – a close second.

0 Upvotes