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.

Customising the CMS /

Stuck on TableListField and Pagination with custom Filtering


Reply


2 Posts   1323 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

OK I found it:

http://open.silverstripe.org/ticket/5513