{"action":"closed","issue":{"url":"https://api.github.com/repos/lazychaser/laravel-nestedset/issues/55","labels_url":"https://api.github.com/repos/lazychaser/laravel-nestedset/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/lazychaser/laravel-nestedset/issues/55/comments","events_url":"https://api.github.com/repos/lazychaser/laravel-nestedset/issues/55/events","html_url":"https://github.com/lazychaser/laravel-nestedset/issues/55","id":99412766,"number":55,"title":"Change the node position","user":{"login":"windhunter89","id":7919264,"avatar_url":"https://avatars.githubusercontent.com/u/7919264?v=3","gravatar_id":"","url":"https://api.github.com/users/windhunter89","html_url":"https://github.com/windhunter89","followers_url":"https://api.github.com/users/windhunter89/followers","following_url":"https://api.github.com/users/windhunter89/following{/other_user}","gists_url":"https://api.github.com/users/windhunter89/gists{/gist_id}","starred_url":"https://api.github.com/users/windhunter89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/windhunter89/subscriptions","organizations_url":"https://api.github.com/users/windhunter89/orgs","repos_url":"https://api.github.com/users/windhunter89/repos","events_url":"https://api.github.com/users/windhunter89/events{/privacy}","received_events_url":"https://api.github.com/users/windhunter89/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-06T11:14:22Z","updated_at":"2015-08-06T16:25:18Z","closed_at":"2015-08-06T16:25:18Z","body":"Hi, just curious how to change the node position? Which code should I used?\r\nScenario 1 :\r\n========\r\nDrag Product 2 from Product 1 to Product 3\r\nBefore : \r\nProduct 1\r\n-Product 2\r\nProduct 3\r\n\r\nAfter :\r\nProduct 1\r\nProduct 3\r\n-Product 2\r\n\r\nScenario 2:\r\n========\r\nDrag Product 2 to Product 1\r\nBefore : \r\nProduct 1\r\nProduct 2\r\nProduct 3\r\n\r\nAfter :\r\nProduct 1\r\n-Product 2\r\nProduct 3\r\n\r\nScenario 3:\r\n========\r\nDrag Product 2 from Product 1 to root\r\nBefore : \r\nProduct 1\r\n-Product 2\r\nProduct 3\r\n\r\nAfter :\r\nProduct 1\r\nProduct 2\r\nProduct 3\r\n "}}