{"action":"created","issue":{"url":"https://api.github.com/repos/PrairieLearn/PrairieLearn/issues/408","repository_url":"https://api.github.com/repos/PrairieLearn/PrairieLearn","labels_url":"https://api.github.com/repos/PrairieLearn/PrairieLearn/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/PrairieLearn/PrairieLearn/issues/408/comments","events_url":"https://api.github.com/repos/PrairieLearn/PrairieLearn/issues/408/events","html_url":"https://github.com/PrairieLearn/PrairieLearn/pull/408","id":183594179,"number":408,"title":"Show all submissions to a question in exam mode","user":{"login":"rbessick5","id":17118628,"avatar_url":"https://avatars.githubusercontent.com/u/17118628?v=3","gravatar_id":"","url":"https://api.github.com/users/rbessick5","html_url":"https://github.com/rbessick5","followers_url":"https://api.github.com/users/rbessick5/followers","following_url":"https://api.github.com/users/rbessick5/following{/other_user}","gists_url":"https://api.github.com/users/rbessick5/gists{/gist_id}","starred_url":"https://api.github.com/users/rbessick5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbessick5/subscriptions","organizations_url":"https://api.github.com/users/rbessick5/orgs","repos_url":"https://api.github.com/users/rbessick5/repos","events_url":"https://api.github.com/users/rbessick5/events{/privacy}","received_events_url":"https://api.github.com/users/rbessick5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-18T05:32:33Z","updated_at":"2016-11-12T23:43:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PrairieLearn/PrairieLearn/pulls/408","html_url":"https://github.com/PrairieLearn/PrairieLearn/pull/408","diff_url":"https://github.com/PrairieLearn/PrairieLearn/pull/408.diff","patch_url":"https://github.com/PrairieLearn/PrairieLearn/pull/408.patch"},"body":"Addresses #255 (and some portion of #29 )\n\nI've left the extra assessment \"pastsubmissions\" within exampleCourse for testing (the other exams don't load because they include unsupported question types). Once everything checks out, I can make an additional commit to remove the unnecessary assessment.\n\nIf you like, I can also combine the two functions in userInstanceQuestionExam.js at lines 84-93 and 95-114, and remove the get_submission BLOCK (lines 11-19) from userInstanceQuestionExam.sql -- getting the most recent submission could be done while getting all the submissions.\n"},"comment":{"url":"https://api.github.com/repos/PrairieLearn/PrairieLearn/issues/comments/260156210","html_url":"https://github.com/PrairieLearn/PrairieLearn/pull/408#issuecomment-260156210","issue_url":"https://api.github.com/repos/PrairieLearn/PrairieLearn/issues/408","id":260156210,"user":{"login":"rbessick5","id":17118628,"avatar_url":"https://avatars.githubusercontent.com/u/17118628?v=3","gravatar_id":"","url":"https://api.github.com/users/rbessick5","html_url":"https://github.com/rbessick5","followers_url":"https://api.github.com/users/rbessick5/followers","following_url":"https://api.github.com/users/rbessick5/following{/other_user}","gists_url":"https://api.github.com/users/rbessick5/gists{/gist_id}","starred_url":"https://api.github.com/users/rbessick5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbessick5/subscriptions","organizations_url":"https://api.github.com/users/rbessick5/orgs","repos_url":"https://api.github.com/users/rbessick5/repos","events_url":"https://api.github.com/users/rbessick5/events{/privacy}","received_events_url":"https://api.github.com/users/rbessick5/received_events","type":"User","site_admin":false},"created_at":"2016-11-12T23:43:15Z","updated_at":"2016-11-12T23:43:15Z","body":"I'm not getting that error message on my set-up, so I'm not sure what might be preventing that from loading correctly. I store the value of showAllSubmissions in res.locals, where showTrueAnswer is located. Is the true answer block rendering on your set-up?"}}
{"actor":{"display_login":"rbessick5"}}