1842 Posts in 1600 Topics by 558 members
|Go to End|
25 July 2010 at 12:14pm Last edited: 26 July 2010 10:26am
I'd like to change the display of the blog holder to be ordered like it is in the cms tree instead of by date.
I see in the page controller, this controls the order:
$order = '"BlogEntry"."Date" ASC';
What would be the syntax to list it in order like it is in the CMS? In other words, I'd like to order it by drag-n-dropping in the CMS.
25 July 2010 at 4:15pm
The default column for sorting is the Sort Field.
$order = '"SiteTree"."Sort" ASC';
26 July 2010 at 10:26am
I do believe that worked.
|Go to Top|