mel47 Posted January 6, 2018 Share Posted January 6, 2018 Hi I read everywhere that default sort should be admin sort. However, I couldn't understand why it's not my case. Images are 1000 words, admin and tracy screenshots: Explanation? Thanks Mel Link to comment Share on other sites More sharing options...
adrian Posted January 6, 2018 Share Posted January 6, 2018 Try: foreach($page->children("sort=sort") as $form) Link to comment Share on other sites More sharing options...
mel47 Posted January 6, 2018 Author Share Posted January 6, 2018 Already tried. Give 1326 1328 1330 Link to comment Share on other sites More sharing options...
adrian Posted January 6, 2018 Share Posted January 6, 2018 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? 1 Link to comment Share on other sites More sharing options...
mel47 Posted January 6, 2018 Author Share Posted January 6, 2018 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 1 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