Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Stuck on TableListField and Pagination with custom Filtering


Go to End


2 Posts   1590 Views

Avatar
Martijn

Community Member, 271 Posts

29 April 2010 at 11:24pm

I have a TableListField with Pagination and custom filtering. But as soon as I use the Pagination, the TableListField shows all records of the DataObject.

I can see in TableListField that the Links uses:

http_build_query($this->extraLinkParams)

But as far as I can see, those extraLinkParams are never set?

Currently I have this code to set op my TableLifstField:

http://www.sspaste.com/paste/show/4bd94cb4b8b9e

I tried to add querystring to the URL, but this neither works...

How can I let the Pagination obey custom filtering on a DataObject?

Avatar
Martijn

Community Member, 271 Posts

30 April 2010 at 11:41pm