{"action":"created","issue":{"url":"https://api.github.com/repos/BlueHerons/StatTracker/issues/75","labels_url":"https://api.github.com/repos/BlueHerons/StatTracker/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/BlueHerons/StatTracker/issues/75/comments","events_url":"https://api.github.com/repos/BlueHerons/StatTracker/issues/75/events","html_url":"https://github.com/BlueHerons/StatTracker/issues/75","id":76498548,"number":75,"title":"NULL is considered lower than 0 for Upcoming Badges","user":{"login":"johnluetke","id":348843,"avatar_url":"https://avatars.githubusercontent.com/u/348843?v=3","gravatar_id":"","url":"https://api.github.com/users/johnluetke","html_url":"https://github.com/johnluetke","followers_url":"https://api.github.com/users/johnluetke/followers","following_url":"https://api.github.com/users/johnluetke/following{/other_user}","gists_url":"https://api.github.com/users/johnluetke/gists{/gist_id}","starred_url":"https://api.github.com/users/johnluetke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnluetke/subscriptions","organizations_url":"https://api.github.com/users/johnluetke/orgs","repos_url":"https://api.github.com/users/johnluetke/repos","events_url":"https://api.github.com/users/johnluetke/events{/privacy}","received_events_url":"https://api.github.com/users/johnluetke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BlueHerons/StatTracker/labels/bug","name":"bug","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-14T21:37:38Z","updated_at":"2015-05-15T19:03:36Z","closed_at":"2015-05-15T19:03:36Z","body":"**GetUpcomingBadges** proc sorts by `days_remaining`, showing badges to be acquired first at the top. \r\n\r\nif, for some reason, `days_remaining` cannot be calculated, NULL is the value used. \r\n\r\nSorting by `days_remaining` in  ascending order causes NULL entries to be listed first. \r\n\r\nNULL entries should be excluded from the query results."},"comment":{"url":"https://api.github.com/repos/BlueHerons/StatTracker/issues/comments/102494571","html_url":"https://github.com/BlueHerons/StatTracker/issues/75#issuecomment-102494571","issue_url":"https://api.github.com/repos/BlueHerons/StatTracker/issues/75","id":102494571,"user":{"login":"johnluetke","id":348843,"avatar_url":"https://avatars.githubusercontent.com/u/348843?v=3","gravatar_id":"","url":"https://api.github.com/users/johnluetke","html_url":"https://github.com/johnluetke","followers_url":"https://api.github.com/users/johnluetke/followers","following_url":"https://api.github.com/users/johnluetke/following{/other_user}","gists_url":"https://api.github.com/users/johnluetke/gists{/gist_id}","starred_url":"https://api.github.com/users/johnluetke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnluetke/subscriptions","organizations_url":"https://api.github.com/users/johnluetke/orgs","repos_url":"https://api.github.com/users/johnluetke/repos","events_url":"https://api.github.com/users/johnluetke/events{/privacy}","received_events_url":"https://api.github.com/users/johnluetke/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T19:03:36Z","updated_at":"2015-05-15T19:03:36Z","body":"Closed by 9dd48fe7fe9b6829b3bc35fb60ab8a6d6e7ee860"}}