{"action":"created","issue":{"url":"https://api.github.com/repos/StudentRND/Clear/issues/18","repository_url":"https://api.github.com/repos/StudentRND/Clear","labels_url":"https://api.github.com/repos/StudentRND/Clear/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/StudentRND/Clear/issues/18/comments","events_url":"https://api.github.com/repos/StudentRND/Clear/issues/18/events","html_url":"https://github.com/StudentRND/Clear/pull/18","id":158529406,"number":18,"title":"Added age workflow to parent submission form.  Added validation to pa…","user":{"login":"Evilnames","id":1734029,"avatar_url":"https://avatars.githubusercontent.com/u/1734029?v=3","gravatar_id":"","url":"https://api.github.com/users/Evilnames","html_url":"https://github.com/Evilnames","followers_url":"https://api.github.com/users/Evilnames/followers","following_url":"https://api.github.com/users/Evilnames/following{/other_user}","gists_url":"https://api.github.com/users/Evilnames/gists{/gist_id}","starred_url":"https://api.github.com/users/Evilnames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Evilnames/subscriptions","organizations_url":"https://api.github.com/users/Evilnames/orgs","repos_url":"https://api.github.com/users/Evilnames/repos","events_url":"https://api.github.com/users/Evilnames/events{/privacy}","received_events_url":"https://api.github.com/users/Evilnames/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tylermenezes","id":173390,"avatar_url":"https://avatars.githubusercontent.com/u/173390?v=3","gravatar_id":"","url":"https://api.github.com/users/tylermenezes","html_url":"https://github.com/tylermenezes","followers_url":"https://api.github.com/users/tylermenezes/followers","following_url":"https://api.github.com/users/tylermenezes/following{/other_user}","gists_url":"https://api.github.com/users/tylermenezes/gists{/gist_id}","starred_url":"https://api.github.com/users/tylermenezes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylermenezes/subscriptions","organizations_url":"https://api.github.com/users/tylermenezes/orgs","repos_url":"https://api.github.com/users/tylermenezes/repos","events_url":"https://api.github.com/users/tylermenezes/events{/privacy}","received_events_url":"https://api.github.com/users/tylermenezes/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-06-04T23:33:34Z","updated_at":"2016-06-04T23:49:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/StudentRND/Clear/pulls/18","html_url":"https://github.com/StudentRND/Clear/pull/18","diff_url":"https://github.com/StudentRND/Clear/pull/18.diff","patch_url":"https://github.com/StudentRND/Clear/pull/18.patch"},"body":"…rent submission form.  Added AVG AGE on the dashboard of events."},"comment":{"url":"https://api.github.com/repos/StudentRND/Clear/issues/comments/223784701","html_url":"https://github.com/StudentRND/Clear/pull/18#issuecomment-223784701","issue_url":"https://api.github.com/repos/StudentRND/Clear/issues/18","id":223784701,"user":{"login":"tjhorner","id":2646487,"avatar_url":"https://avatars.githubusercontent.com/u/2646487?v=3","gravatar_id":"","url":"https://api.github.com/users/tjhorner","html_url":"https://github.com/tjhorner","followers_url":"https://api.github.com/users/tjhorner/followers","following_url":"https://api.github.com/users/tjhorner/following{/other_user}","gists_url":"https://api.github.com/users/tjhorner/gists{/gist_id}","starred_url":"https://api.github.com/users/tjhorner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjhorner/subscriptions","organizations_url":"https://api.github.com/users/tjhorner/orgs","repos_url":"https://api.github.com/users/tjhorner/repos","events_url":"https://api.github.com/users/tjhorner/events{/privacy}","received_events_url":"https://api.github.com/users/tjhorner/received_events","type":"User","site_admin":false},"created_at":"2016-06-04T23:49:45Z","updated_at":"2016-06-04T23:49:45Z","body":"Testing locally, it seems that event pages die when there are no attendees. Add checks in your `getAvgAgeAttribute` function to make sure that there's at least 1 attendee before calculating it.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2646487/15802797/3eec3c62-2a74-11e6-9c24-a03270a1d91e.png)\r\n\r\nYou also might want to change that line to `event.avg_age` to be consistent with the rest of the page."}}
{"actor":{"display_login":"tjhorner"}}