Jump to content

Question about sorting


Sylvio
 Share

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...