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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Sorting by Created field


Reply


4 Posts   958 Views

Avatar
Lou

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?

Avatar
Lou

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.

Avatar
UncleCheese

Forum Moderator, 4094 Posts

29 July 2010 at 1:38am

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

Avatar
Lou

Community Member, 8 Posts

29 July 2010 at 11:34pm

Edited: 29/07/2010 11:34pm

Hi!

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.