{"action":"created","issue":{"url":"https://api.github.com/repos/Graylog2/graylog2-web-interface/issues/1135","labels_url":"https://api.github.com/repos/Graylog2/graylog2-web-interface/issues/1135/labels{/name}","comments_url":"https://api.github.com/repos/Graylog2/graylog2-web-interface/issues/1135/comments","events_url":"https://api.github.com/repos/Graylog2/graylog2-web-interface/issues/1135/events","html_url":"https://github.com/Graylog2/graylog2-web-interface/issues/1135","id":58271813,"number":1135,"title":"Displayed field order of plugin does not match added order in ConfigurationRequest object","user":{"login":"dfch","id":8310360,"avatar_url":"https://avatars.githubusercontent.com/u/8310360?v=3","gravatar_id":"","url":"https://api.github.com/users/dfch","html_url":"https://github.com/dfch","followers_url":"https://api.github.com/users/dfch/followers","following_url":"https://api.github.com/users/dfch/following{/other_user}","gists_url":"https://api.github.com/users/dfch/gists{/gist_id}","starred_url":"https://api.github.com/users/dfch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfch/subscriptions","organizations_url":"https://api.github.com/users/dfch/orgs","repos_url":"https://api.github.com/users/dfch/repos","events_url":"https://api.github.com/users/dfch/events{/privacy}","received_events_url":"https://api.github.com/users/dfch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-19T21:22:48Z","updated_at":"2015-08-12T12:51:04Z","closed_at":"2015-08-11T15:35:09Z","body":"When defining fields in for plugin via the  ```getRequestedConfiguration()``` method, the field order on the ```ConfigurationRequest``` is not preserved whrn shown on the UI.\r\n\r\nExample: while in this [ConfigurationRequest](https://github.com/dfch/biz.dfch.j.graylog.plugin.alarm.clickatell/blob/7c623213ea6c0f27d9516a3fc22c4cf6e7b65346/src/main/java/biz/dfch/j/graylog/plugin/alarm/dfchBizClickatellAlarm.java#L133) the first field added is the ```CONFIG_AUTH_TOKEN```, the first field displayed on the UI is actually ```CONFIG_FIELDS``` as you can see in the screenshot below.\r\n\r\nThis is somehow annoying as the available fields on s plugin can not visually grouped together for logically corresponding settings.\r\n\r\n![Installed Plugin](https://dfch.files.wordpress.com/2015/02/graylogclickatellalarm2.png)"},"comment":{"url":"https://api.github.com/repos/Graylog2/graylog2-web-interface/issues/comments/130289327","html_url":"https://github.com/Graylog2/graylog2-web-interface/issues/1135#issuecomment-130289327","issue_url":"https://api.github.com/repos/Graylog2/graylog2-web-interface/issues/1135","id":130289327,"user":{"login":"dfch","id":8310360,"avatar_url":"https://avatars.githubusercontent.com/u/8310360?v=3","gravatar_id":"","url":"https://api.github.com/users/dfch","html_url":"https://github.com/dfch","followers_url":"https://api.github.com/users/dfch/followers","following_url":"https://api.github.com/users/dfch/following{/other_user}","gists_url":"https://api.github.com/users/dfch/gists{/gist_id}","starred_url":"https://api.github.com/users/dfch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfch/subscriptions","organizations_url":"https://api.github.com/users/dfch/orgs","repos_url":"https://api.github.com/users/dfch/repos","events_url":"https://api.github.com/users/dfch/events{/privacy}","received_events_url":"https://api.github.com/users/dfch/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T12:51:04Z","updated_at":"2015-08-12T12:51:04Z","body":"thanks for fixing that!"}}