Order changes are not saved in the same order set by user
Hi, on some of the sites I tested this plugin there's an issue with saving the order of pages set in Tree View.
When I make the change and refresh the page it changes the order differently than what I've set it to.
The issue seems to happen on managed hosting that has Object Caching, I couldn't replicate the same behavior on different host that doesn't have any kind of caching.
It seems that the plugin doesn't work well with object caching so it ends up assigning same order number for multiple pages.
This is the test I did: I've created a parent page with 4 child pages, and to each page I've assigned order number in Page Attributes. So I ended up having these pages with these order numbers:
- Page 1 - order 10
- Page 2 - order 20
- Page 3 - order 30
- Page 4 - order 40
After that, I used Pages > Tree View to order them like this:
- Page 4
- Page 2
- Page 1
- Page 3
However, after I refresh the Tree View page I end up with a different order, looking like this:
- Page 2 - order 10
- Page 4 - order 10
- Page 1 - order 10
- Page 3 - order 30
So it does make some change, the order is not the same as from start, but it's also not the one that I've set in Tree View.