{"action":"closed","issue":{"url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-odm_dataset/issues/346","repository_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-odm_dataset","labels_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-odm_dataset/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-odm_dataset/issues/346/comments","events_url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-odm_dataset/issues/346/events","html_url":"https://github.com/OpenDevelopmentMekong/ckanext-odm_dataset/issues/346","id":185637314,"number":346,"title":"Extend list of supported countries","user":{"login":"acorbi","id":384894,"avatar_url":"https://avatars.githubusercontent.com/u/384894?v=3","gravatar_id":"","url":"https://api.github.com/users/acorbi","html_url":"https://github.com/acorbi","followers_url":"https://api.github.com/users/acorbi/followers","following_url":"https://api.github.com/users/acorbi/following{/other_user}","gists_url":"https://api.github.com/users/acorbi/gists{/gist_id}","starred_url":"https://api.github.com/users/acorbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acorbi/subscriptions","organizations_url":"https://api.github.com/users/acorbi/orgs","repos_url":"https://api.github.com/users/acorbi/repos","events_url":"https://api.github.com/users/acorbi/events{/privacy}","received_events_url":"https://api.github.com/users/acorbi/received_events","type":"User","site_admin":false},"labels":[{"id":461076074,"url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-odm_dataset/labels/in%20progress","name":"in progress","color":"ededed","default":false},{"id":126678459,"url":"https://api.github.com/repos/OpenDevelopmentMekong/ckanext-odm_dataset/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":{"login":"acorbi","id":384894,"avatar_url":"https://avatars.githubusercontent.com/u/384894?v=3","gravatar_id":"","url":"https://api.github.com/users/acorbi","html_url":"https://github.com/acorbi","followers_url":"https://api.github.com/users/acorbi/followers","following_url":"https://api.github.com/users/acorbi/following{/other_user}","gists_url":"https://api.github.com/users/acorbi/gists{/gist_id}","starred_url":"https://api.github.com/users/acorbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acorbi/subscriptions","organizations_url":"https://api.github.com/users/acorbi/orgs","repos_url":"https://api.github.com/users/acorbi/repos","events_url":"https://api.github.com/users/acorbi/events{/privacy}","received_events_url":"https://api.github.com/users/acorbi/received_events","type":"User","site_admin":false},"assignees":[{"login":"acorbi","id":384894,"avatar_url":"https://avatars.githubusercontent.com/u/384894?v=3","gravatar_id":"","url":"https://api.github.com/users/acorbi","html_url":"https://github.com/acorbi","followers_url":"https://api.github.com/users/acorbi/followers","following_url":"https://api.github.com/users/acorbi/following{/other_user}","gists_url":"https://api.github.com/users/acorbi/gists{/gist_id}","starred_url":"https://api.github.com/users/acorbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acorbi/subscriptions","organizations_url":"https://api.github.com/users/acorbi/orgs","repos_url":"https://api.github.com/users/acorbi/repos","events_url":"https://api.github.com/users/acorbi/events{/privacy}","received_events_url":"https://api.github.com/users/acorbi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-10-27T11:02:44Z","updated_at":"2016-11-21T14:10:02Z","closed_at":"2016-11-21T14:10:02Z","body":"Currently, staff members creating/editing CKAN records can select the following options for the **Geographic area (odm_spatial_range)**:\n- Global\n- ASEAN\n- Greater Mekong Subregion (GMS)\n- Lower Mekong Basin\n- Lower Mekong countries\n- Cambodia\n- Vietnam\n- Laos\n- Thailand\n- Myanmar\n  \n  (![screenshot from 2016-10-27 12-44-00](https://cloud.githubusercontent.com/assets/384894/19764400/1631d8fe-9c43-11e6-8f05-a23ed60b7cf6.png)\n\nWhile this allows to address the possibility of adding CKAN records which relate to countries outside the mekong region and allows to select also specific regions (and not countries), it has some implications in terms of the way the data is maintained and the logic we want to implement for exposing country-specific data in the metadata forms, while being pulled from the data tables.\n\nMy concrete proposal would be that:\n- Only the main 5 countries are exposed \n- If editors need to select regions (including the whole region), they would select some (or all) of them.\n- When editors select (or deselect) one of the countries, the selectable options on the metadata fields that depend on the country variable would get automatically adapted.\n\n@prustar please review this and provide feedback asap. This is my proposal to finalize the meta-data form for the laws. \n"}}
{"actor":{"display_login":"acorbi"}}