{"action":"created","issue":{"url":"https://api.github.com/repos/sulu/sulu/issues/3164","repository_url":"https://api.github.com/repos/sulu/sulu","labels_url":"https://api.github.com/repos/sulu/sulu/issues/3164/labels{/name}","comments_url":"https://api.github.com/repos/sulu/sulu/issues/3164/comments","events_url":"https://api.github.com/repos/sulu/sulu/issues/3164/events","html_url":"https://github.com/sulu/sulu/pull/3164","id":203961730,"number":3164,"title":"extracted csv export into extension","user":{"login":"danrot","id":405874,"avatar_url":"https://avatars.githubusercontent.com/u/405874?v=3","gravatar_id":"","url":"https://api.github.com/users/danrot","html_url":"https://github.com/danrot","followers_url":"https://api.github.com/users/danrot/followers","following_url":"https://api.github.com/users/danrot/following{/other_user}","gists_url":"https://api.github.com/users/danrot/gists{/gist_id}","starred_url":"https://api.github.com/users/danrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrot/subscriptions","organizations_url":"https://api.github.com/users/danrot/orgs","repos_url":"https://api.github.com/users/danrot/repos","events_url":"https://api.github.com/users/danrot/events{/privacy}","received_events_url":"https://api.github.com/users/danrot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-30T09:35:09Z","updated_at":"2017-02-02T07:10:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sulu/sulu/pulls/3164","html_url":"https://github.com/sulu/sulu/pull/3164","diff_url":"https://github.com/sulu/sulu/pull/3164.diff","patch_url":"https://github.com/sulu/sulu/pull/3164.patch"},"body":"| Q | A\r\n| --- | ---\r\n| Bug fix? | no\r\n| New feature? | yes\r\n| BC breaks? | no\r\n| Deprecations? | no\r\n| Fixed tickets | none\r\n| Related issues/PRs | none\r\n| License | MIT\r\n| Documentation PR | none\r\n\r\n#### What's in this PR?\r\n\r\nThis PR moves the csv-export to an own extension, so that others can create an own form for it.\r\n\r\n#### Why?\r\n\r\nBecause for some exports more elements should appear on the overlay.\r\n\r\n#### Example Usage\r\n\r\nSimply use the extension and override the form with your own. The example shows how it is done in the generic one:\r\n\r\n```javascript\r\ndefine(['text!./form.html'], function(form) {\r\n\r\n    'use strict';\r\n\r\n    return {\r\n        type: 'csv-export',\r\n\r\n        getForm: function() {\r\n            return form;\r\n        }\r\n    };\r\n});\r\n```\r\n\r\nThe form should have datamapper attributes. The husky-validation form will then pick all the data and append it to the request, which can be used in the controller.\r\n"},"comment":{"url":"https://api.github.com/repos/sulu/sulu/issues/comments/276884566","html_url":"https://github.com/sulu/sulu/pull/3164#issuecomment-276884566","issue_url":"https://api.github.com/repos/sulu/sulu/issues/3164","id":276884566,"user":{"login":"danrot","id":405874,"avatar_url":"https://avatars.githubusercontent.com/u/405874?v=3","gravatar_id":"","url":"https://api.github.com/users/danrot","html_url":"https://github.com/danrot","followers_url":"https://api.github.com/users/danrot/followers","following_url":"https://api.github.com/users/danrot/following{/other_user}","gists_url":"https://api.github.com/users/danrot/gists{/gist_id}","starred_url":"https://api.github.com/users/danrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrot/subscriptions","organizations_url":"https://api.github.com/users/danrot/orgs","repos_url":"https://api.github.com/users/danrot/repos","events_url":"https://api.github.com/users/danrot/events{/privacy}","received_events_url":"https://api.github.com/users/danrot/received_events","type":"User","site_admin":false},"created_at":"2017-02-02T07:10:46Z","updated_at":"2017-02-02T07:10:46Z","body":"@chirimoya According to @thomasduenser this worked for him, so we can merge it."}}
{"actor":{"display_login":"danrot"}}