Apostrophe CMS Main Site Forum Home

"Load More..." button with AJAX throw error


#1

At Load more button, this code does not working:
{{ data.url }} | build({ page: data.currentPage + 1, append: 1 }) Load More…

It give this result:
http://localhost:3000/món-ngon%20|%20build({%20page:%20data.currentPage%20+%201,%20append:%201%20})
( current link + build({ page: data.currentPage + 1, append: 1 }) )


#2

OK, I cleared this problem. Boutell have a typo:
Right form: {{ data.url | build({ page: data.currentPage + 1, append: 1 }) }}

In guide and changelog, all of them was written:
{{ data.url }} | build({ page: data.currentPage + 1, append: 1 })