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:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Sorting by Created field

Go to End

4 Posts   1280 Views


Community Member, 8 Posts

13 July 2010 at 9:41pm

Edited: 13/07/2010 10:43pm

Hi, UncleCheese.

Anyway I could make a Created header sortable?

I have this code for fields:

$tableFields = array{
	'Name'    => 'Name',
	'Title'       => 'Title',
	'Created' => 'Date Posted'

I can sort the table with the Name and Title fields but not the Created field... any idea?


Community Member, 8 Posts

29 July 2010 at 1:31am

Hi, UncleCheese,

I hope you could help me with this...

It is really important that we may be able to sort the table by Created field.

Thank you.


Forum Moderator, 4102 Posts

29 July 2010 at 1:38am

When you say you can't, what does that mean?


Community Member, 8 Posts

29 July 2010 at 11:34pm

Edited: 29/07/2010 11:34pm


I mean, there was not click event in the header of the table for the field(Created). While I can sort other fields by clicking their headers(i.e. ID, Title, Country), I can't do it with the Created header field.

I hope I'm making some sense.