mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Sort newest posts first
This commit is contained in:
parent
3be06ffd20
commit
deee52a994
@ -62,7 +62,7 @@ class BlogFilter extends Lumberjack {
|
||||
$pages = SiteTree::get()->filter(array(
|
||||
'ParentID' => $this->owner->ID,
|
||||
'ClassName' => $excluded
|
||||
));
|
||||
))->sort('"SiteTree"."Created" DESC');
|
||||
$gridField = new BlogFilter_GridField(
|
||||
"ChildPages",
|
||||
$this->getLumberjackTitle(),
|
||||
|
Loading…
Reference in New Issue
Block a user