{"action":"created","issue":{"url":"https://api.github.com/repos/exercism/exercism.io/issues/2585","labels_url":"https://api.github.com/repos/exercism/exercism.io/issues/2585/labels{/name}","comments_url":"https://api.github.com/repos/exercism/exercism.io/issues/2585/comments","events_url":"https://api.github.com/repos/exercism/exercism.io/issues/2585/events","html_url":"https://github.com/exercism/exercism.io/issues/2585","id":112148186,"number":2585,"title":"\"next submission\" should be the \"next unread submission\"","user":{"login":"kytrinyx","id":276834,"avatar_url":"https://avatars.githubusercontent.com/u/276834?v=3","gravatar_id":"","url":"https://api.github.com/users/kytrinyx","html_url":"https://github.com/kytrinyx","followers_url":"https://api.github.com/users/kytrinyx/followers","following_url":"https://api.github.com/users/kytrinyx/following{/other_user}","gists_url":"https://api.github.com/users/kytrinyx/gists{/gist_id}","starred_url":"https://api.github.com/users/kytrinyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kytrinyx/subscriptions","organizations_url":"https://api.github.com/users/kytrinyx/orgs","repos_url":"https://api.github.com/users/kytrinyx/repos","events_url":"https://api.github.com/users/kytrinyx/events{/privacy}","received_events_url":"https://api.github.com/users/kytrinyx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-19T13:48:36Z","updated_at":"2015-11-18T21:35:08Z","closed_at":null,"body":"Commenting on an exercise puts it back to the top of the exercises list, which causes the 'next submission' button to go back to the start. This is pretty annoying if you give a lot of feedback.\r\n\r\nThe SQL query for this is in `lib/exercism/inbox.rb:181`"},"comment":{"url":"https://api.github.com/repos/exercism/exercism.io/issues/comments/157871912","html_url":"https://github.com/exercism/exercism.io/issues/2585#issuecomment-157871912","issue_url":"https://api.github.com/repos/exercism/exercism.io/issues/2585","id":157871912,"user":{"login":"kytrinyx","id":276834,"avatar_url":"https://avatars.githubusercontent.com/u/276834?v=3","gravatar_id":"","url":"https://api.github.com/users/kytrinyx","html_url":"https://github.com/kytrinyx","followers_url":"https://api.github.com/users/kytrinyx/followers","following_url":"https://api.github.com/users/kytrinyx/following{/other_user}","gists_url":"https://api.github.com/users/kytrinyx/gists{/gist_id}","starred_url":"https://api.github.com/users/kytrinyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kytrinyx/subscriptions","organizations_url":"https://api.github.com/users/kytrinyx/orgs","repos_url":"https://api.github.com/users/kytrinyx/repos","events_url":"https://api.github.com/users/kytrinyx/events{/privacy}","received_events_url":"https://api.github.com/users/kytrinyx/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T21:35:08Z","updated_at":"2015-11-18T21:35:08Z","body":"Right now, if you comment on someone's solution, then it is the most recent solution in its category if you go to http://exercism.io/inbox\r\n\r\nI think the way to solve this is to do a left join to the `views` table where the views.id is null."}}