Hi,
I've got a simple news section made with DataObjects. Everything works fine, I just want to sort the entries by date.
$newsTable = new ComplexTableField(
$this,
'NewsArticles',
'NewsArticle',
array(
'ArticleDate' => 'Article Date',
'ArticleTitle' => 'Article Title'
),
null
);
Can anyone give me a hint? Thanks!