{"action":"created","issue":{"url":"https://api.github.com/repos/octobercms/october/issues/2652","repository_url":"https://api.github.com/repos/octobercms/october","labels_url":"https://api.github.com/repos/octobercms/october/issues/2652/labels{/name}","comments_url":"https://api.github.com/repos/octobercms/october/issues/2652/comments","events_url":"https://api.github.com/repos/octobercms/october/issues/2652/events","html_url":"https://github.com/octobercms/october/issues/2652","id":205350910,"number":2652,"title":"Reorder behavior not working when added later","user":{"login":"SebastiaanKloos","id":6506510,"avatar_url":"https://avatars2.githubusercontent.com/u/6506510?v=3","gravatar_id":"","url":"https://api.github.com/users/SebastiaanKloos","html_url":"https://github.com/SebastiaanKloos","followers_url":"https://api.github.com/users/SebastiaanKloos/followers","following_url":"https://api.github.com/users/SebastiaanKloos/following{/other_user}","gists_url":"https://api.github.com/users/SebastiaanKloos/gists{/gist_id}","starred_url":"https://api.github.com/users/SebastiaanKloos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SebastiaanKloos/subscriptions","organizations_url":"https://api.github.com/users/SebastiaanKloos/orgs","repos_url":"https://api.github.com/users/SebastiaanKloos/repos","events_url":"https://api.github.com/users/SebastiaanKloos/events{/privacy}","received_events_url":"https://api.github.com/users/SebastiaanKloos/received_events","type":"User","site_admin":false},"labels":[{"id":143615180,"url":"https://api.github.com/repos/octobercms/october/labels/Status:%20Review%20Needed","name":"Status: Review Needed","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-04T14:31:03Z","updated_at":"2017-03-21T09:18:07Z","closed_at":"2017-03-21T09:18:07Z","body":"##### Expected behavior\r\nAdding the reordering functionality after you entered some entries to a model should work fine.\r\n\r\n##### Actual behavior\r\nWhen the sort_order column gets populated with 0, the reordering does not work. So it should set it up when it sees 0. \r\n\r\n##### Reproduce steps\r\n- Creating and adding entries to a model. \r\n- Then add the reorder behavior. \r\n- Try to reorder. It does not save the new order. \r\n\r\n##### October build\r\n396\r\n\r\n##### Temp fix\r\nChange the entries with sort_order 0 manually to 1,2,3 etc.\r\n"},"comment":{"url":"https://api.github.com/repos/octobercms/october/issues/comments/288019617","html_url":"https://github.com/octobercms/october/issues/2652#issuecomment-288019617","issue_url":"https://api.github.com/repos/octobercms/october/issues/2652","id":288019617,"user":{"login":"daftspunk","id":1392869,"avatar_url":"https://avatars2.githubusercontent.com/u/1392869?v=3","gravatar_id":"","url":"https://api.github.com/users/daftspunk","html_url":"https://github.com/daftspunk","followers_url":"https://api.github.com/users/daftspunk/followers","following_url":"https://api.github.com/users/daftspunk/following{/other_user}","gists_url":"https://api.github.com/users/daftspunk/gists{/gist_id}","starred_url":"https://api.github.com/users/daftspunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daftspunk/subscriptions","organizations_url":"https://api.github.com/users/daftspunk/orgs","repos_url":"https://api.github.com/users/daftspunk/repos","events_url":"https://api.github.com/users/daftspunk/events{/privacy}","received_events_url":"https://api.github.com/users/daftspunk/received_events","type":"User","site_admin":false},"created_at":"2017-03-21T09:18:07Z","updated_at":"2017-03-21T09:18:07Z","body":"Duplicate #1923"}}
{"actor":{"display_login":"daftspunk"}}