{"action":"created","comment":{"url":"https://api.github.com/repos/pkp/pkp-lib/pulls/comments/46989136","id":46989136,"diff_hunk":"@@ -164,7 +164,7 @@ private function setupHeader($args, $request) {\n \t\t\t$dispatcher = $request->getDispatcher();\n \t\t\t$contextsNameAndUrl = array();\n \t\t\twhile ($workingContext = $workingContexts->next()) {\n-\t\t\t\t$contextUrl = $dispatcher->url($request, ROUTE_PAGE, $workingContext->getPath());\n+\t\t\t\t$contextUrl = $dispatcher->url($request, ROUTE_PAGE, $workingContext->getPath(), 'dashboard');","path":"controllers/page/PageHandler.inc.php","position":5,"original_position":5,"commit_id":"705a6451b7eabe84805c1433600eee4262c9af16","original_commit_id":"705a6451b7eabe84805c1433600eee4262c9af16","user":{"login":"asmecher","id":200411,"avatar_url":"https://avatars.githubusercontent.com/u/200411?v=3","gravatar_id":"","url":"https://api.github.com/users/asmecher","html_url":"https://github.com/asmecher","followers_url":"https://api.github.com/users/asmecher/followers","following_url":"https://api.github.com/users/asmecher/following{/other_user}","gists_url":"https://api.github.com/users/asmecher/gists{/gist_id}","starred_url":"https://api.github.com/users/asmecher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmecher/subscriptions","organizations_url":"https://api.github.com/users/asmecher/orgs","repos_url":"https://api.github.com/users/asmecher/repos","events_url":"https://api.github.com/users/asmecher/events{/privacy}","received_events_url":"https://api.github.com/users/asmecher/received_events","type":"User","site_admin":false},"body":"This is OK in OMP, but beware that it'll affect the journal switcher in the OJS front-end; not all users will have access to the dashboard, and sending them there via the front-end journal switcher will be confusing.","created_at":"2015-12-08T18:02:32Z","updated_at":"2015-12-08T18:02:32Z","html_url":"https://github.com/pkp/pkp-lib/pull/951#discussion_r46989136","pull_request_url":"https://api.github.com/repos/pkp/pkp-lib/pulls/951","_links":{"self":{"href":"https://api.github.com/repos/pkp/pkp-lib/pulls/comments/46989136"},"html":{"href":"https://github.com/pkp/pkp-lib/pull/951#discussion_r46989136"},"pull_request":{"href":"https://api.github.com/repos/pkp/pkp-lib/pulls/951"}}},"pull_request":{"url":"https://api.github.com/repos/pkp/pkp-lib/pulls/951","id":53009751,"html_url":"https://github.com/pkp/pkp-lib/pull/951","diff_url":"https://github.com/pkp/pkp-lib/pull/951.diff","patch_url":"https://github.com/pkp/pkp-lib/pull/951.patch","issue_url":"https://api.github.com/repos/pkp/pkp-lib/issues/951","number":951,"state":"open","locked":false,"title":"Add missing backend nav items","user":{"login":"NateWr","id":2306629,"avatar_url":"https://avatars.githubusercontent.com/u/2306629?v=3","gravatar_id":"","url":"https://api.github.com/users/NateWr","html_url":"https://github.com/NateWr","followers_url":"https://api.github.com/users/NateWr/followers","following_url":"https://api.github.com/users/NateWr/following{/other_user}","gists_url":"https://api.github.com/users/NateWr/gists{/gist_id}","starred_url":"https://api.github.com/users/NateWr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NateWr/subscriptions","organizations_url":"https://api.github.com/users/NateWr/orgs","repos_url":"https://api.github.com/users/NateWr/repos","events_url":"https://api.github.com/users/NateWr/events{/privacy}","received_events_url":"https://api.github.com/users/NateWr/received_events","type":"User","site_admin":false},"body":"I don't really like how large this bottom nav menu has gotten.\r\n\r\n![lots-of-items](https://cloud.githubusercontent.com/assets/2306629/11662527/007c5caa-9dcf-11e5-94dd-24ca4721afa1.png)\r\n\r\nBut I suppose it's a deeper architectural problem for another day. :)","created_at":"2015-12-08T17:14:05Z","updated_at":"2015-12-08T18:02:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6439bdbf87f2250885966ed0d724bd1a646c2ced","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pkp/pkp-lib/pulls/951/commits","review_comments_url":"https://api.github.com/repos/pkp/pkp-lib/pulls/951/comments","review_comment_url":"https://api.github.com/repos/pkp/pkp-lib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pkp/pkp-lib/issues/951/comments","statuses_url":"https://api.github.com/repos/pkp/pkp-lib/statuses/705a6451b7eabe84805c1433600eee4262c9af16","head":{"label":"NateWr:add_missing_backend_nav_items","ref":"add_missing_backend_nav_items","sha":"705a6451b7eabe84805c1433600eee4262c9af16","user":{"login":"NateWr","id":2306629,"avatar_url":"https://avatars.githubusercontent.com/u/2306629?v=3","gravatar_id":"","url":"https://api.github.com/users/NateWr","html_url":"https://github.com/NateWr","followers_url":"https://api.github.com/users/NateWr/followers","following_url":"https://api.github.com/users/NateWr/following{/other_user}","gists_url":"https://api.github.com/users/NateWr/gists{/gist_id}","starred_url":"https://api.github.com/users/NateWr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NateWr/subscriptions","organizations_url":"https://api.github.com/users/NateWr/orgs","repos_url":"https://api.github.com/users/NateWr/repos","events_url":"https://api.github.com/users/NateWr/events{/privacy}","received_events_url":"https://api.github.com/users/NateWr/received_events","type":"User","site_admin":false},"repo":{"id":36003239,"name":"pkp-lib","full_name":"NateWr/pkp-lib","owner":{"login":"NateWr","id":2306629,"avatar_url":"https://avatars.githubusercontent.com/u/2306629?v=3","gravatar_id":"","url":"https://api.github.com/users/NateWr","html_url":"https://github.com/NateWr","followers_url":"https://api.github.com/users/NateWr/followers","following_url":"https://api.github.com/users/NateWr/following{/other_user}","gists_url":"https://api.github.com/users/NateWr/gists{/gist_id}","starred_url":"https://api.github.com/users/NateWr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NateWr/subscriptions","organizations_url":"https://api.github.com/users/NateWr/orgs","repos_url":"https://api.github.com/users/NateWr/repos","events_url":"https://api.github.com/users/NateWr/events{/privacy}","received_events_url":"https://api.github.com/users/NateWr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NateWr/pkp-lib","description":"PKP Web Application Library","fork":true,"url":"https://api.github.com/repos/NateWr/pkp-lib","forks_url":"https://api.github.com/repos/NateWr/pkp-lib/forks","keys_url":"https://api.github.com/repos/NateWr/pkp-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NateWr/pkp-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NateWr/pkp-lib/teams","hooks_url":"https://api.github.com/repos/NateWr/pkp-lib/hooks","issue_events_url":"https://api.github.com/repos/NateWr/pkp-lib/issues/events{/number}","events_url":"https://api.github.com/repos/NateWr/pkp-lib/events","assignees_url":"https://api.github.com/repos/NateWr/pkp-lib/assignees{/user}","branches_url":"https://api.github.com/repos/NateWr/pkp-lib/branches{/branch}","tags_url":"https://api.github.com/repos/NateWr/pkp-lib/tags","blobs_url":"https://api.github.com/repos/NateWr/pkp-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NateWr/pkp-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NateWr/pkp-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/NateWr/pkp-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NateWr/pkp-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/NateWr/pkp-lib/languages","stargazers_url":"https://api.github.com/repos/NateWr/pkp-lib/stargazers","contributors_url":"https://api.github.com/repos/NateWr/pkp-lib/contributors","subscribers_url":"https://api.github.com/repos/NateWr/pkp-lib/subscribers","subscription_url":"https://api.github.com/repos/NateWr/pkp-lib/subscription","commits_url":"https://api.github.com/repos/NateWr/pkp-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/NateWr/pkp-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/NateWr/pkp-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/NateWr/pkp-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/NateWr/pkp-lib/contents/{+path}","compare_url":"https://api.github.com/repos/NateWr/pkp-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NateWr/pkp-lib/merges","archive_url":"https://api.github.com/repos/NateWr/pkp-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NateWr/pkp-lib/downloads","issues_url":"https://api.github.com/repos/NateWr/pkp-lib/issues{/number}","pulls_url":"https://api.github.com/repos/NateWr/pkp-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/NateWr/pkp-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/NateWr/pkp-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NateWr/pkp-lib/labels{/name}","releases_url":"https://api.github.com/repos/NateWr/pkp-lib/releases{/id}","created_at":"2015-05-21T09:17:30Z","updated_at":"2015-05-21T09:17:37Z","pushed_at":"2015-12-08T17:07:42Z","git_url":"git://github.com/NateWr/pkp-lib.git","ssh_url":"git@github.com:NateWr/pkp-lib.git","clone_url":"https://github.com/NateWr/pkp-lib.git","svn_url":"https://github.com/NateWr/pkp-lib","homepage":"http://pkp.sfu.ca","size":40382,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"pkp:master","ref":"master","sha":"1805429ada05f8eff818bfcf8743d80bf16f3c3e","user":{"login":"pkp","id":130896,"avatar_url":"https://avatars.githubusercontent.com/u/130896?v=3","gravatar_id":"","url":"https://api.github.com/users/pkp","html_url":"https://github.com/pkp","followers_url":"https://api.github.com/users/pkp/followers","following_url":"https://api.github.com/users/pkp/following{/other_user}","gists_url":"https://api.github.com/users/pkp/gists{/gist_id}","starred_url":"https://api.github.com/users/pkp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkp/subscriptions","organizations_url":"https://api.github.com/users/pkp/orgs","repos_url":"https://api.github.com/users/pkp/repos","events_url":"https://api.github.com/users/pkp/events{/privacy}","received_events_url":"https://api.github.com/users/pkp/received_events","type":"Organization","site_admin":false},"repo":{"id":316712,"name":"pkp-lib","full_name":"pkp/pkp-lib","owner":{"login":"pkp","id":130896,"avatar_url":"https://avatars.githubusercontent.com/u/130896?v=3","gravatar_id":"","url":"https://api.github.com/users/pkp","html_url":"https://github.com/pkp","followers_url":"https://api.github.com/users/pkp/followers","following_url":"https://api.github.com/users/pkp/following{/other_user}","gists_url":"https://api.github.com/users/pkp/gists{/gist_id}","starred_url":"https://api.github.com/users/pkp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkp/subscriptions","organizations_url":"https://api.github.com/users/pkp/orgs","repos_url":"https://api.github.com/users/pkp/repos","events_url":"https://api.github.com/users/pkp/events{/privacy}","received_events_url":"https://api.github.com/users/pkp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pkp/pkp-lib","description":"PKP Web Application Library","fork":false,"url":"https://api.github.com/repos/pkp/pkp-lib","forks_url":"https://api.github.com/repos/pkp/pkp-lib/forks","keys_url":"https://api.github.com/repos/pkp/pkp-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pkp/pkp-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pkp/pkp-lib/teams","hooks_url":"https://api.github.com/repos/pkp/pkp-lib/hooks","issue_events_url":"https://api.github.com/repos/pkp/pkp-lib/issues/events{/number}","events_url":"https://api.github.com/repos/pkp/pkp-lib/events","assignees_url":"https://api.github.com/repos/pkp/pkp-lib/assignees{/user}","branches_url":"https://api.github.com/repos/pkp/pkp-lib/branches{/branch}","tags_url":"https://api.github.com/repos/pkp/pkp-lib/tags","blobs_url":"https://api.github.com/repos/pkp/pkp-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pkp/pkp-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pkp/pkp-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/pkp/pkp-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pkp/pkp-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/pkp/pkp-lib/languages","stargazers_url":"https://api.github.com/repos/pkp/pkp-lib/stargazers","contributors_url":"https://api.github.com/repos/pkp/pkp-lib/contributors","subscribers_url":"https://api.github.com/repos/pkp/pkp-lib/subscribers","subscription_url":"https://api.github.com/repos/pkp/pkp-lib/subscription","commits_url":"https://api.github.com/repos/pkp/pkp-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/pkp/pkp-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/pkp/pkp-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/pkp/pkp-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/pkp/pkp-lib/contents/{+path}","compare_url":"https://api.github.com/repos/pkp/pkp-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pkp/pkp-lib/merges","archive_url":"https://api.github.com/repos/pkp/pkp-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pkp/pkp-lib/downloads","issues_url":"https://api.github.com/repos/pkp/pkp-lib/issues{/number}","pulls_url":"https://api.github.com/repos/pkp/pkp-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/pkp/pkp-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/pkp/pkp-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pkp/pkp-lib/labels{/name}","releases_url":"https://api.github.com/repos/pkp/pkp-lib/releases{/id}","created_at":"2009-09-24T19:30:31Z","updated_at":"2015-12-05T13:54:33Z","pushed_at":"2015-12-08T17:14:05Z","git_url":"git://github.com/pkp/pkp-lib.git","ssh_url":"git@github.com:pkp/pkp-lib.git","clone_url":"https://github.com/pkp/pkp-lib.git","svn_url":"https://github.com/pkp/pkp-lib","homepage":"http://pkp.sfu.ca","size":41845,"stargazers_count":59,"watchers_count":59,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":139,"mirror_url":null,"open_issues_count":188,"forks":139,"open_issues":188,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pkp/pkp-lib/pulls/951"},"html":{"href":"https://github.com/pkp/pkp-lib/pull/951"},"issue":{"href":"https://api.github.com/repos/pkp/pkp-lib/issues/951"},"comments":{"href":"https://api.github.com/repos/pkp/pkp-lib/issues/951/comments"},"review_comments":{"href":"https://api.github.com/repos/pkp/pkp-lib/pulls/951/comments"},"review_comment":{"href":"https://api.github.com/repos/pkp/pkp-lib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pkp/pkp-lib/pulls/951/commits"},"statuses":{"href":"https://api.github.com/repos/pkp/pkp-lib/statuses/705a6451b7eabe84805c1433600eee4262c9af16"}}}}