{"action":"created","issue":{"url":"https://api.github.com/repos/AsgardCms/Platform/issues/214","repository_url":"https://api.github.com/repos/AsgardCms/Platform","labels_url":"https://api.github.com/repos/AsgardCms/Platform/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/AsgardCms/Platform/issues/214/comments","events_url":"https://api.github.com/repos/AsgardCms/Platform/issues/214/events","html_url":"https://github.com/AsgardCms/Platform/issues/214","id":164554525,"number":214,"title":"[Media] new partials should work on edit view also","user":{"login":"armababy","id":219556,"avatar_url":"https://avatars.githubusercontent.com/u/219556?v=3","gravatar_id":"","url":"https://api.github.com/users/armababy","html_url":"https://github.com/armababy","followers_url":"https://api.github.com/users/armababy/followers","following_url":"https://api.github.com/users/armababy/following{/other_user}","gists_url":"https://api.github.com/users/armababy/gists{/gist_id}","starred_url":"https://api.github.com/users/armababy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armababy/subscriptions","organizations_url":"https://api.github.com/users/armababy/orgs","repos_url":"https://api.github.com/users/armababy/repos","events_url":"https://api.github.com/users/armababy/events{/privacy}","received_events_url":"https://api.github.com/users/armababy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-07-08T15:22:45Z","updated_at":"2016-07-11T07:46:45Z","closed_at":null,"body":"### Summary of issue\r\nCurrently new way (event based) media is very cool, but ``HandleMediaStorage`` only attaches media to ``imageable``, so it won't update orders on old media and is not removing removed media :D\r\n\r\n### Steps to reproduce\r\n1) Create entity with ``@include('media::admin.fields.new-file-link-multiple', ['zone' => 'site_gallery'])``\r\n2) Upload 2 or more media files\r\n3) Edit created entity with ``@include('media::admin.fields.new-file-link-multiple', ['zone' => 'site_gallery'])``\r\n4) Change order of media files and hit update\r\n5) Order in database stays the same because of ``attach`` method\r\n\r\n### System Details\r\n- Operating System: Ubuntu 14.04\r\n- PHP Version: 5.6.23\r\n- Laravel Version: 5.1.40\r\n- `Asgardcms/Platform` version: 1.14.1 \r\n"},"comment":{"url":"https://api.github.com/repos/AsgardCms/Platform/issues/comments/231663875","html_url":"https://github.com/AsgardCms/Platform/issues/214#issuecomment-231663875","issue_url":"https://api.github.com/repos/AsgardCms/Platform/issues/214","id":231663875,"user":{"login":"armababy","id":219556,"avatar_url":"https://avatars.githubusercontent.com/u/219556?v=3","gravatar_id":"","url":"https://api.github.com/users/armababy","html_url":"https://github.com/armababy","followers_url":"https://api.github.com/users/armababy/followers","following_url":"https://api.github.com/users/armababy/following{/other_user}","gists_url":"https://api.github.com/users/armababy/gists{/gist_id}","starred_url":"https://api.github.com/users/armababy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armababy/subscriptions","organizations_url":"https://api.github.com/users/armababy/orgs","repos_url":"https://api.github.com/users/armababy/repos","events_url":"https://api.github.com/users/armababy/events{/privacy}","received_events_url":"https://api.github.com/users/armababy/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T07:46:45Z","updated_at":"2016-07-11T07:46:45Z","body":"Yeah i will see the differences and then either make several js files or combine them into one."}}
{"actor":{"display_login":"armababy"}}