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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

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

Stuck on TableListField and Pagination with custom Filtering


Go to End


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