{"action":"created","issue":{"url":"https://api.github.com/repos/nasa/earthdata-search/issues/578","repository_url":"https://api.github.com/repos/nasa/earthdata-search","labels_url":"https://api.github.com/repos/nasa/earthdata-search/issues/578/labels{/name}","comments_url":"https://api.github.com/repos/nasa/earthdata-search/issues/578/comments","events_url":"https://api.github.com/repos/nasa/earthdata-search/issues/578/events","html_url":"https://github.com/nasa/earthdata-search/pull/578","id":297243246,"number":578,"title":"EDSC-1722: Fixed tags bug and changed auto-select and submit button behavior","user":{"login":"jboukes","id":8703338,"avatar_url":"https://avatars2.githubusercontent.com/u/8703338?v=4","gravatar_id":"","url":"https://api.github.com/users/jboukes","html_url":"https://github.com/jboukes","followers_url":"https://api.github.com/users/jboukes/followers","following_url":"https://api.github.com/users/jboukes/following{/other_user}","gists_url":"https://api.github.com/users/jboukes/gists{/gist_id}","starred_url":"https://api.github.com/users/jboukes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jboukes/subscriptions","organizations_url":"https://api.github.com/users/jboukes/orgs","repos_url":"https://api.github.com/users/jboukes/repos","events_url":"https://api.github.com/users/jboukes/events{/privacy}","received_events_url":"https://api.github.com/users/jboukes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-14T20:59:38Z","updated_at":"2018-02-19T21:05:44Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/nasa/earthdata-search/pulls/578","html_url":"https://github.com/nasa/earthdata-search/pull/578","diff_url":"https://github.com/nasa/earthdata-search/pull/578.diff","patch_url":"https://github.com/nasa/earthdata-search/pull/578.patch"},"body":"The first issue in EDSC-1722 involved collection 'C1424491172-LARC_ASDC' - within the data download page, if the user hits 'continue', the page does nothing and a console error is present if one looks.  \r\n\r\nThe issue is that the code checks \"collection.tags()[\"edsc.limited_collections\"]\"; however, with this collection, tags() returns null and therefore has no index.  This automatically throws a JS exception; the fix is simply to check to make sure tags() returns a value before checking what the value of the index might be.\r\n\r\nThe code was also updated such that if there is only a single download mechanism available, it is auto selected.  Further, the 'submit' button will not be active until at least one item is chosen; it remains in an 'inactive' state until the user makes their choice."},"comment":{"url":"https://api.github.com/repos/nasa/earthdata-search/issues/comments/366802581","html_url":"https://github.com/nasa/earthdata-search/pull/578#issuecomment-366802581","issue_url":"https://api.github.com/repos/nasa/earthdata-search/issues/578","id":366802581,"user":{"login":"jboukes","id":8703338,"avatar_url":"https://avatars2.githubusercontent.com/u/8703338?v=4","gravatar_id":"","url":"https://api.github.com/users/jboukes","html_url":"https://github.com/jboukes","followers_url":"https://api.github.com/users/jboukes/followers","following_url":"https://api.github.com/users/jboukes/following{/other_user}","gists_url":"https://api.github.com/users/jboukes/gists{/gist_id}","starred_url":"https://api.github.com/users/jboukes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jboukes/subscriptions","organizations_url":"https://api.github.com/users/jboukes/orgs","repos_url":"https://api.github.com/users/jboukes/repos","events_url":"https://api.github.com/users/jboukes/events{/privacy}","received_events_url":"https://api.github.com/users/jboukes/received_events","type":"User","site_admin":false},"created_at":"2018-02-19T21:05:44Z","updated_at":"2018-02-19T21:05:44Z","author_association":"CONTRIBUTOR","body":"@jennywagg - hover tip added :)"}}
{"actor":{"display_login":"jboukes"}}