Sylvio Posted April 14, 2011 Share Posted April 14, 2011 In the api documentation it states: Only fields that have their "autojoin" checkbox checked in Setup > Fields can be used for sorting pages. So if you need to be able to sort pages by particular fields, check to make sure they are "autojoin". If they aren't already, you can set them to be. I have a field called newsdate which I use as a key for sorting and I don't have it set as autojoin, but the sorting still works (I tried it by reversing the order)! Why is that? Link to comment Share on other sites More sharing options...
apeisa Posted April 14, 2011 Share Posted April 14, 2011 Sorting on API will work without autojoin. This sorting that your quote references is page children sorting (in admin when you edit page -> children (tab) -> sort settings. This means default sort when using admin. Link to comment Share on other sites More sharing options...
Sylvio Posted April 14, 2011 Author Share Posted April 14, 2011 thanks, I see that I didn't read the docs properly, 'pages' is mentioned twice in the quote Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now