Hi there,
Hi, I've been trying the search tutorial at http://doc.silverstripe.org/sapphire/en/tutorials/4-site-search and everything works except the pagination.
If I remove the pagination code in the template (eg, Results.MoreThanOnePage, Results.NextLink, etc.), search results are returned. If I leave the pagination code in place, SS throws an error.
Is there anything missing from the tutorial? Am I suppose to be also calling setPageLimits(), setPageLength(), etc. using the results DataObjectSet in the ProcessSearchForm() method as described on http://doc.silverstripe.org/sapphire/en/reference/dataobjectset#paging to get the pagination to work?
Thanks!