Hey guys,
I was wondering if "getManyManyComponents()" supports pagination. I have tried everything i know to get it to work, but to no avail. I am using a ManyManyComplexTableField, so this is the easiest way to retrieve my data. This is the snippet am using
$doSet = $this->getManyManyComponents("Products","","","","{$SQL_start},10");
I have smthg like this in the template:
http://pastebin.com/m7acacea5
If i remove the limit, the pagination links appear, but all the products also appear. So that is kinda pointless.
I searched all over, forum, Doc and IRC, but couldn't find any answer.
Another question:
Assume the original query results from below is x
$doSet = $this->getManyManyComponents("Products","","","","{$SQL_start},10");
$doSet2 = $this->getManyManyComponents("Products");
$doSet->Count() and
$doSet2->Count() will both return 10, instead of 10 and x.
Any suggestions as to how to work around this.
Thanks a lot for your time.