{"action":"created","issue":{"url":"https://api.github.com/repos/byu-oit-appdev/ios-byuSuite/issues/50","repository_url":"https://api.github.com/repos/byu-oit-appdev/ios-byuSuite","labels_url":"https://api.github.com/repos/byu-oit-appdev/ios-byuSuite/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/byu-oit-appdev/ios-byuSuite/issues/50/comments","events_url":"https://api.github.com/repos/byu-oit-appdev/ios-byuSuite/issues/50/events","html_url":"https://github.com/byu-oit-appdev/ios-byuSuite/pull/50","id":195364841,"number":50,"title":"Hotfix/map my finals","user":{"login":"ecbrady","id":12305705,"avatar_url":"https://avatars.githubusercontent.com/u/12305705?v=3","gravatar_id":"","url":"https://api.github.com/users/ecbrady","html_url":"https://github.com/ecbrady","followers_url":"https://api.github.com/users/ecbrady/followers","following_url":"https://api.github.com/users/ecbrady/following{/other_user}","gists_url":"https://api.github.com/users/ecbrady/gists{/gist_id}","starred_url":"https://api.github.com/users/ecbrady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecbrady/subscriptions","organizations_url":"https://api.github.com/users/ecbrady/orgs","repos_url":"https://api.github.com/users/ecbrady/repos","events_url":"https://api.github.com/users/ecbrady/events{/privacy}","received_events_url":"https://api.github.com/users/ecbrady/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-12-13T20:51:03Z","updated_at":"2016-12-15T21:02:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/byu-oit-appdev/ios-byuSuite/pulls/50","html_url":"https://github.com/byu-oit-appdev/ios-byuSuite/pull/50","diff_url":"https://github.com/byu-oit-appdev/ios-byuSuite/pull/50.diff","patch_url":"https://github.com/byu-oit-appdev/ios-byuSuite/pull/50.patch"},"body":"\n\n<!-- Reviewable:start -->\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/byu-oit-appdev/ios-byusuite/50)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/byu-oit-appdev/ios-byuSuite/issues/comments/267443011","html_url":"https://github.com/byu-oit-appdev/ios-byuSuite/pull/50#issuecomment-267443011","issue_url":"https://api.github.com/repos/byu-oit-appdev/ios-byuSuite/issues/50","id":267443011,"user":{"login":"ecbrady","id":12305705,"avatar_url":"https://avatars.githubusercontent.com/u/12305705?v=3","gravatar_id":"","url":"https://api.github.com/users/ecbrady","html_url":"https://github.com/ecbrady","followers_url":"https://api.github.com/users/ecbrady/followers","following_url":"https://api.github.com/users/ecbrady/following{/other_user}","gists_url":"https://api.github.com/users/ecbrady/gists{/gist_id}","starred_url":"https://api.github.com/users/ecbrady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecbrady/subscriptions","organizations_url":"https://api.github.com/users/ecbrady/orgs","repos_url":"https://api.github.com/users/ecbrady/repos","events_url":"https://api.github.com/users/ecbrady/events{/privacy}","received_events_url":"https://api.github.com/users/ecbrady/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T21:02:06Z","updated_at":"2016-12-15T21:02:06Z","body":"\n\n\n\nReview status: 12 of 14 files reviewed at latest revision, 5 unresolved discussions.\n\n---\n\n*[byuSuite/Apps/MapMyFinals/controller/MapMyFinalsListViewController.m, line 86 at r3](https://reviewable.io:443/reviews/byu-oit-appdev/ios-byusuite/50#-KZ2XOYGfsSkuMWKcMVc:-KZ2dmATx7YIOIVx2cY7:b-896fix) ([raw file](https://github.com/byu-oit-appdev/ios-byusuite/blob/4f2440f0e7ca45c5f5d887bdca7727374bebb746/byuSuite/Apps/MapMyFinals/controller/MapMyFinalsListViewController.m#L86)):*\n<details><summary><i>Previously, romrell4 (Eric Romrell) wrote…</i></summary><blockquote>\n\nSorry,\n\n```objective-c\nint sections = 0;\nif (self.testingCenterFinals.count != 0) {\n  sections++;\n}\nif (self.scheduledFinals.count != 0) {\n  sections++;\n}\nif (self.unscheduledFinals.count != 0) {\n  sections++;\n}\nreturn sections;\n```\n</blockquote></details>\n\nDone.\n\n---\n\n*[byuSuite/Apps/MapMyFinals/controller/MapMyFinalsListViewController.m, line 91 at r3](https://reviewable.io:443/reviews/byu-oit-appdev/ios-byusuite/50#-KZ2XuuPbakhrYUFBNjQ:-KZ2eo98eQkOGWB1TRQg:b-896fix) ([raw file](https://github.com/byu-oit-appdev/ios-byusuite/blob/4f2440f0e7ca45c5f5d887bdca7727374bebb746/byuSuite/Apps/MapMyFinals/controller/MapMyFinalsListViewController.m#L91)):*\n<details><summary><i>Previously, romrell4 (Eric Romrell) wrote…</i></summary><blockquote>\n\nSorry again,\n```objective c\nint sections = [self numberOfSectionsInTableView:tableView];\nif (section == 0) {\n  if (self.testingCenterFinals.count > 0) {\n    return @\"  Testing Center Administered Finals\";\n  } else if (self.scheduledFinals.count > 0) {\n    return @\"  Scheduled Finals\";\n  } else {\n    return @\"  Unscheduled Finals\";\n  }\n} else if (section == 1) {\n  if (self.testingCenterFinals.count > 0) {\n    if (self.scheduledFinals.count > 0) {\n      return @\"  Scheduled Finals\";\n    } else {\n      return @\"  Unscheduled Finals\";\n    }\n  } else if (self.scheduledFinals.count > 0) {\n    return @\"  Unscheduled Finals\";\n  }\n} else {\n  return @\"  Unscheduled Finals\";\n}\n```\n</blockquote></details>\n\nDone.\n\n---\n\n*[byuSuite/Apps/MapMyFinals/controller/MapMyFinalsListViewController.m, line 136 at r3](https://reviewable.io:443/reviews/byu-oit-appdev/ios-byusuite/50#-KZ2_7mGZ5gxn3-6w_n-:-KZ2fFVrVc3C8YHUBTKR:b-896fix) ([raw file](https://github.com/byu-oit-appdev/ios-byusuite/blob/4f2440f0e7ca45c5f5d887bdca7727374bebb746/byuSuite/Apps/MapMyFinals/controller/MapMyFinalsListViewController.m#L136)):*\n<details><summary><i>Previously, romrell4 (Eric Romrell) wrote…</i></summary><blockquote>\n\nDon't need to check for the section anymore. But put a comment saying that only the scheduleFinals will be clickable\n</blockquote></details>\n\nDone.\n\n---\n\n\n*Comments from [Reviewable](https://reviewable.io:443/reviews/byu-oit-appdev/ios-byusuite/50)*\n<!-- Sent from Reviewable.io -->\n"}}
{"actor":{"display_login":"ecbrady"}}