Jump to content

Are reserved pages pushed to the bottom of the page stack by default?


gornycreative
 Share

Recommended Posts

I have been using $page->sort settings to try to migrate consistent page arrangements and all has gone well except I can't seem to alter the sort arrangement of the error page.

I know it is a reserved page. I can alter the sort order between the various reserved pages but I cannot get it to appear higher.

The strange thing is that I can set the sort number and if I try to find all pages off of the root page and and sort them by sort:

$list = $this->wire->pages->find("parent=1,sort=sort",["include"=>"all"]);

and then db($list) the error page does appear properly sorted in the array that results:

image.thumb.png.f6602968ee3e60c3deab81bee7bcf7a4.png

But in the Pages menu, it remains lower:

image.png.f9dd8e955ff0d02881701410ed5d4133.png

Are reserved status pages special in this regard?

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