OK I added the line
private static $default_sort = 'Title ASC';
Into my PeoplePage object but that has had no effect to the order. It is still overwritten by SORT in the CMS SiteTree. I have flushed the cache as well but with no success. I still get this order:
Dominic underwood
Anablee the king
Zoey fine
Joey Blogs
Where is should be
Anablee the king
Dominic underwood
Joey Blogs
Zoey fine
Am I doing something wrong. If I change this line in the SiteTree object then the whole SiteTree order is effected.
private static $default_sort = "\"Title\"";
I'm must be doing something stupid. can anyone help?
Posted to: SiteTree Sort Order | Show Thread | Post Reply