When moving a structure in the admin dashboard. The lft and rgt values are not updated in the GraphQL/Elements API when rearranged. If you update an entry these values will suddenly be updated correctly.
This seems to be a caching issue where the cache simply is not cleared when rearranging structures. I have only tested it with the GraphQL API but I assume it's the same for Elements as well considering GraphQL uses Elements. Clearing the cache from the utilities menu or updating an entry updates the arranged order as expected.
Oops. Thanks for reporting that! This has been fixed for the next Craft release!
3.4.10 is out now with the fix.
Awesome, thanks!
Most helpful comment
Oops. Thanks for reporting that! This has been fixed for the next Craft release!