{"action":"opened","issue":{"url":"https://api.github.com/repos/govCMS/govcms-ckan/issues/8","repository_url":"https://api.github.com/repos/govCMS/govcms-ckan","labels_url":"https://api.github.com/repos/govCMS/govcms-ckan/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/govCMS/govcms-ckan/issues/8/comments","events_url":"https://api.github.com/repos/govCMS/govcms-ckan/issues/8/events","html_url":"https://github.com/govCMS/govcms-ckan/issues/8","id":141709955,"number":8,"title":"Attach visualisation settings array to table","user":{"login":"srowlands","id":1256274,"avatar_url":"https://avatars.githubusercontent.com/u/1256274?v=3","gravatar_id":"","url":"https://api.github.com/users/srowlands","html_url":"https://github.com/srowlands","followers_url":"https://api.github.com/users/srowlands/followers","following_url":"https://api.github.com/users/srowlands/following{/other_user}","gists_url":"https://api.github.com/users/srowlands/gists{/gist_id}","starred_url":"https://api.github.com/users/srowlands/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srowlands/subscriptions","organizations_url":"https://api.github.com/users/srowlands/orgs","repos_url":"https://api.github.com/users/srowlands/repos","events_url":"https://api.github.com/users/srowlands/events{/privacy}","received_events_url":"https://api.github.com/users/srowlands/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-17T21:22:04Z","updated_at":"2016-03-17T21:22:04Z","closed_at":null,"body":"CKAN visualisation settings should be attached to the HTML table markup as data attributes, so that visualisations may retrieve them for rendering.\r\n\r\n## Technical detail\r\n- When building the HTML table deserialise the data stored in the custom field for the visualisation settings\r\n- Loop through each form item and push into a data-attr attached to the table\r\n-- e.g 'data-ckan-FORM-KEY=\"#value\"'"}}