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   927 Views

Avatar
Lou

13 July 2010 at 9:41pm (Last edited: 13 July 2010 10:43pm), Community Member, 8 Posts

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

29 July 2010 at 1:31am Community Member, 8 Posts

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

29 July 2010 at 1:38am 4085 Posts

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

Avatar
Lou

29 July 2010 at 11:34pm (Last edited: 29 July 2010 11:34pm), Community Member, 8 Posts

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.