Quantcast
Channel:
Viewing all articles
Browse latest Browse all 4235

Re: SiteTree Sort Order

$
0
0

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


Viewing all articles
Browse latest Browse all 4235

Trending Articles