etrepat / baum

Baum is an implementation of the Nested Set pattern for Laravel's Eloquent ORM.
http://etrepat.com/baum
MIT License
2.24k stars 459 forks source link

moving root nodes doesn't seem to be working #277

Open amirshawn opened 7 years ago

amirshawn commented 7 years ago

I've installed this package and everything seems to be working perfectly except when I try to move root nodes using moveLeft() and moveRight() nothing seems to happen. I don't get any errors but they don't move. All child nodes move as expected but root nodes do not. Am I doing something wrong?