{"action":"created","comment":{"url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/comments/25559001","id":25559001,"diff_hunk":"@@ -253,27 +252,69 @@ def student_interface\n   def get_mark_columns\n     grade_entry_form = GradeEntryForm.find(params[:id])\n     grade_entry_items_columns = grade_entry_form.grade_entry_items\n-\n     c = grade_entry_items_columns.map do |column|\n       {\n-        id: column.name,\n+        id: column.id,\n         content: column.name + ' (' + column.out_of.to_s + ')',\n-        sortable: true,\n-        searcheable: true\n       }\n     end\n     if grade_entry_form.show_total\n       c <<\n-      {\n-        id: 'total_marks',\n-        content: t('grade_entry_forms.grades.total') \\\n-                 + ' ' + grade_entry_form.out_of_total.to_s,\n-      }\n+        {\n+          id: 'total_marks',\n+          content: t('grade_entry_forms.grades.total') \\\n+                   + ' ' + grade_entry_form.out_of_total.to_s,","path":"app/controllers/grade_entry_forms_controller.rb","position":53,"original_position":53,"commit_id":"b955a161c339cc373923a34b97c06e410449e1b2","original_commit_id":"b955a161c339cc373923a34b97c06e410449e1b2","user":{"login":"david-yz-liu","id":3333115,"avatar_url":"https://avatars.githubusercontent.com/u/3333115?v=3","gravatar_id":"","url":"https://api.github.com/users/david-yz-liu","html_url":"https://github.com/david-yz-liu","followers_url":"https://api.github.com/users/david-yz-liu/followers","following_url":"https://api.github.com/users/david-yz-liu/following{/other_user}","gists_url":"https://api.github.com/users/david-yz-liu/gists{/gist_id}","starred_url":"https://api.github.com/users/david-yz-liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-yz-liu/subscriptions","organizations_url":"https://api.github.com/users/david-yz-liu/orgs","repos_url":"https://api.github.com/users/david-yz-liu/repos","events_url":"https://api.github.com/users/david-yz-liu/events{/privacy}","received_events_url":"https://api.github.com/users/david-yz-liu/received_events","type":"User","site_admin":false},"body":"Can you change this to put the total in parentheses as well, just like the other columns?","created_at":"2015-02-28T16:57:20Z","updated_at":"2015-02-28T16:57:20Z","html_url":"https://github.com/MarkUsProject/Markus/pull/2064#discussion_r25559001","pull_request_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2064","_links":{"self":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/comments/25559001"},"html":{"href":"https://github.com/MarkUsProject/Markus/pull/2064#discussion_r25559001"},"pull_request":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2064"}}},"pull_request":{"url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2064","id":30147901,"html_url":"https://github.com/MarkUsProject/Markus/pull/2064","diff_url":"https://github.com/MarkUsProject/Markus/pull/2064.diff","patch_url":"https://github.com/MarkUsProject/Markus/pull/2064.patch","issue_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2064","number":2064,"state":"open","locked":false,"title":"Fix for Issue 2031: Updated Admin/Grader Spreadsheet marks table to React","user":{"login":"peterzhao333","id":5542511,"avatar_url":"https://avatars.githubusercontent.com/u/5542511?v=3","gravatar_id":"","url":"https://api.github.com/users/peterzhao333","html_url":"https://github.com/peterzhao333","followers_url":"https://api.github.com/users/peterzhao333/followers","following_url":"https://api.github.com/users/peterzhao333/following{/other_user}","gists_url":"https://api.github.com/users/peterzhao333/gists{/gist_id}","starred_url":"https://api.github.com/users/peterzhao333/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterzhao333/subscriptions","organizations_url":"https://api.github.com/users/peterzhao333/orgs","repos_url":"https://api.github.com/users/peterzhao333/repos","events_url":"https://api.github.com/users/peterzhao333/events{/privacy}","received_events_url":"https://api.github.com/users/peterzhao333/received_events","type":"User","site_admin":false},"body":"Updated the marks spreadsheet table for the Admin/Grader's view to React","created_at":"2015-02-27T08:02:38Z","updated_at":"2015-02-28T16:57:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c2344ad666652538aa2bccba8aee14c5d7cb4132","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2064/commits","review_comments_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2064/comments","review_comment_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2064/comments","statuses_url":"https://api.github.com/repos/MarkUsProject/Markus/statuses/b955a161c339cc373923a34b97c06e410449e1b2","head":{"label":"peterzhao333:issue-2031","ref":"issue-2031","sha":"b955a161c339cc373923a34b97c06e410449e1b2","user":{"login":"peterzhao333","id":5542511,"avatar_url":"https://avatars.githubusercontent.com/u/5542511?v=3","gravatar_id":"","url":"https://api.github.com/users/peterzhao333","html_url":"https://github.com/peterzhao333","followers_url":"https://api.github.com/users/peterzhao333/followers","following_url":"https://api.github.com/users/peterzhao333/following{/other_user}","gists_url":"https://api.github.com/users/peterzhao333/gists{/gist_id}","starred_url":"https://api.github.com/users/peterzhao333/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterzhao333/subscriptions","organizations_url":"https://api.github.com/users/peterzhao333/orgs","repos_url":"https://api.github.com/users/peterzhao333/repos","events_url":"https://api.github.com/users/peterzhao333/events{/privacy}","received_events_url":"https://api.github.com/users/peterzhao333/received_events","type":"User","site_admin":false},"repo":{"id":29273515,"name":"Markus","full_name":"peterzhao333/Markus","owner":{"login":"peterzhao333","id":5542511,"avatar_url":"https://avatars.githubusercontent.com/u/5542511?v=3","gravatar_id":"","url":"https://api.github.com/users/peterzhao333","html_url":"https://github.com/peterzhao333","followers_url":"https://api.github.com/users/peterzhao333/followers","following_url":"https://api.github.com/users/peterzhao333/following{/other_user}","gists_url":"https://api.github.com/users/peterzhao333/gists{/gist_id}","starred_url":"https://api.github.com/users/peterzhao333/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterzhao333/subscriptions","organizations_url":"https://api.github.com/users/peterzhao333/orgs","repos_url":"https://api.github.com/users/peterzhao333/repos","events_url":"https://api.github.com/users/peterzhao333/events{/privacy}","received_events_url":"https://api.github.com/users/peterzhao333/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterzhao333/Markus","description":"Git repository of MarkUs","fork":true,"url":"https://api.github.com/repos/peterzhao333/Markus","forks_url":"https://api.github.com/repos/peterzhao333/Markus/forks","keys_url":"https://api.github.com/repos/peterzhao333/Markus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterzhao333/Markus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterzhao333/Markus/teams","hooks_url":"https://api.github.com/repos/peterzhao333/Markus/hooks","issue_events_url":"https://api.github.com/repos/peterzhao333/Markus/issues/events{/number}","events_url":"https://api.github.com/repos/peterzhao333/Markus/events","assignees_url":"https://api.github.com/repos/peterzhao333/Markus/assignees{/user}","branches_url":"https://api.github.com/repos/peterzhao333/Markus/branches{/branch}","tags_url":"https://api.github.com/repos/peterzhao333/Markus/tags","blobs_url":"https://api.github.com/repos/peterzhao333/Markus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterzhao333/Markus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterzhao333/Markus/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterzhao333/Markus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterzhao333/Markus/statuses/{sha}","languages_url":"https://api.github.com/repos/peterzhao333/Markus/languages","stargazers_url":"https://api.github.com/repos/peterzhao333/Markus/stargazers","contributors_url":"https://api.github.com/repos/peterzhao333/Markus/contributors","subscribers_url":"https://api.github.com/repos/peterzhao333/Markus/subscribers","subscription_url":"https://api.github.com/repos/peterzhao333/Markus/subscription","commits_url":"https://api.github.com/repos/peterzhao333/Markus/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterzhao333/Markus/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterzhao333/Markus/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterzhao333/Markus/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterzhao333/Markus/contents/{+path}","compare_url":"https://api.github.com/repos/peterzhao333/Markus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterzhao333/Markus/merges","archive_url":"https://api.github.com/repos/peterzhao333/Markus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterzhao333/Markus/downloads","issues_url":"https://api.github.com/repos/peterzhao333/Markus/issues{/number}","pulls_url":"https://api.github.com/repos/peterzhao333/Markus/pulls{/number}","milestones_url":"https://api.github.com/repos/peterzhao333/Markus/milestones{/number}","notifications_url":"https://api.github.com/repos/peterzhao333/Markus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterzhao333/Markus/labels{/name}","releases_url":"https://api.github.com/repos/peterzhao333/Markus/releases{/id}","created_at":"2015-01-15T00:47:30Z","updated_at":"2015-01-15T00:47:33Z","pushed_at":"2015-02-27T17:03:22Z","git_url":"git://github.com/peterzhao333/Markus.git","ssh_url":"git@github.com:peterzhao333/Markus.git","clone_url":"https://github.com/peterzhao333/Markus.git","svn_url":"https://github.com/peterzhao333/Markus","homepage":"http://www.markusproject.org","size":20197,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MarkUsProject:master","ref":"master","sha":"986698c7c4293f1108eb2e1666a26d528adcd66b","user":{"login":"MarkUsProject","id":415874,"avatar_url":"https://avatars.githubusercontent.com/u/415874?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkUsProject","html_url":"https://github.com/MarkUsProject","followers_url":"https://api.github.com/users/MarkUsProject/followers","following_url":"https://api.github.com/users/MarkUsProject/following{/other_user}","gists_url":"https://api.github.com/users/MarkUsProject/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkUsProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkUsProject/subscriptions","organizations_url":"https://api.github.com/users/MarkUsProject/orgs","repos_url":"https://api.github.com/users/MarkUsProject/repos","events_url":"https://api.github.com/users/MarkUsProject/events{/privacy}","received_events_url":"https://api.github.com/users/MarkUsProject/received_events","type":"Organization","site_admin":false},"repo":{"id":940538,"name":"Markus","full_name":"MarkUsProject/Markus","owner":{"login":"MarkUsProject","id":415874,"avatar_url":"https://avatars.githubusercontent.com/u/415874?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkUsProject","html_url":"https://github.com/MarkUsProject","followers_url":"https://api.github.com/users/MarkUsProject/followers","following_url":"https://api.github.com/users/MarkUsProject/following{/other_user}","gists_url":"https://api.github.com/users/MarkUsProject/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkUsProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkUsProject/subscriptions","organizations_url":"https://api.github.com/users/MarkUsProject/orgs","repos_url":"https://api.github.com/users/MarkUsProject/repos","events_url":"https://api.github.com/users/MarkUsProject/events{/privacy}","received_events_url":"https://api.github.com/users/MarkUsProject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MarkUsProject/Markus","description":"Git repository of MarkUs","fork":false,"url":"https://api.github.com/repos/MarkUsProject/Markus","forks_url":"https://api.github.com/repos/MarkUsProject/Markus/forks","keys_url":"https://api.github.com/repos/MarkUsProject/Markus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarkUsProject/Markus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarkUsProject/Markus/teams","hooks_url":"https://api.github.com/repos/MarkUsProject/Markus/hooks","issue_events_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/events{/number}","events_url":"https://api.github.com/repos/MarkUsProject/Markus/events","assignees_url":"https://api.github.com/repos/MarkUsProject/Markus/assignees{/user}","branches_url":"https://api.github.com/repos/MarkUsProject/Markus/branches{/branch}","tags_url":"https://api.github.com/repos/MarkUsProject/Markus/tags","blobs_url":"https://api.github.com/repos/MarkUsProject/Markus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarkUsProject/Markus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarkUsProject/Markus/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarkUsProject/Markus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarkUsProject/Markus/statuses/{sha}","languages_url":"https://api.github.com/repos/MarkUsProject/Markus/languages","stargazers_url":"https://api.github.com/repos/MarkUsProject/Markus/stargazers","contributors_url":"https://api.github.com/repos/MarkUsProject/Markus/contributors","subscribers_url":"https://api.github.com/repos/MarkUsProject/Markus/subscribers","subscription_url":"https://api.github.com/repos/MarkUsProject/Markus/subscription","commits_url":"https://api.github.com/repos/MarkUsProject/Markus/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarkUsProject/Markus/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarkUsProject/Markus/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/comments{/number}","contents_url":"https://api.github.com/repos/MarkUsProject/Markus/contents/{+path}","compare_url":"https://api.github.com/repos/MarkUsProject/Markus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarkUsProject/Markus/merges","archive_url":"https://api.github.com/repos/MarkUsProject/Markus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarkUsProject/Markus/downloads","issues_url":"https://api.github.com/repos/MarkUsProject/Markus/issues{/number}","pulls_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls{/number}","milestones_url":"https://api.github.com/repos/MarkUsProject/Markus/milestones{/number}","notifications_url":"https://api.github.com/repos/MarkUsProject/Markus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarkUsProject/Markus/labels{/name}","releases_url":"https://api.github.com/repos/MarkUsProject/Markus/releases{/id}","created_at":"2010-09-26T16:18:08Z","updated_at":"2015-02-28T16:30:51Z","pushed_at":"2015-02-28T16:30:51Z","git_url":"git://github.com/MarkUsProject/Markus.git","ssh_url":"git@github.com:MarkUsProject/Markus.git","clone_url":"https://github.com/MarkUsProject/Markus.git","svn_url":"https://github.com/MarkUsProject/Markus","homepage":"http://www.markusproject.org","size":45390,"stargazers_count":121,"watchers_count":121,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":149,"mirror_url":null,"open_issues_count":122,"forks":149,"open_issues":122,"watchers":121,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2064"},"html":{"href":"https://github.com/MarkUsProject/Markus/pull/2064"},"issue":{"href":"https://api.github.com/repos/MarkUsProject/Markus/issues/2064"},"comments":{"href":"https://api.github.com/repos/MarkUsProject/Markus/issues/2064/comments"},"review_comments":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2064/comments"},"review_comment":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2064/commits"},"statuses":{"href":"https://api.github.com/repos/MarkUsProject/Markus/statuses/b955a161c339cc373923a34b97c06e410449e1b2"}}}}