Jump to content

Sort $page->children (solved)


mel47
 Share

Recommended Posts

Bummer :(

Not a fix, but a hint for Tracy - you can simplify that code to:

d($page->children->each("id"));

Are you sure you don't have any sort rules defined either at the parent page level (on the Children tab) or for the template under the Family tab?

  • Like 1
Link to comment
Share on other sites

No, no sort anywhere. But just discovered I can't move pages, it always go back to it's original place. So, for testing, I created new pages (and deleted them after) and the sorting return to the expected behavior.

1328
1330
1326

Will stay the mystery of friday evening...

Sorry for the disturbance.

Mel

  • Like 1
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...