{"action":"created","comment":{"url":"https://api.github.com/repos/psi-4ward/news4ward/pulls/comments/55658661","id":55658661,"diff_hunk":"@@ -175,20 +171,16 @@ protected function compile()\n \n \t\t// find PREVIOUS article\n \t\t$objPrevArticle = $this->Database->prepare(\"\n-\t\t\tSELECT a.id, a.alias, a.title \". //, (SELECT jumpTo FROM tl_news4ward WHERE tl_news4ward.id=a.pid) AS parentJumpTo\n+\t\t\tSELECT a.id, a.alias, a.title, a.pid \". //, (SELECT jumpTo FROM tl_news4ward WHERE tl_news4ward.id=a.pid) AS parentJumpTo\n \t\t\t\"FROM tl_news4ward_article AS a\n \t\t\tWHERE FIND_IN_SET(a.pid, ?) AND a.start < ?\".$strWhere.' ORDER BY start DESC')->limit(1)->execute(implode(',', array_map('intval', $this->news_archives)), $objArticle->start);\n \n \t\tif ($objPrevArticle->numRows)\n \t\t{\n-            $arrPrev = $objPrevArticle->row();\n-            $arrPrev['parentJumpTo'] = $GLOBALS['objPage']->id;\n-            $this->Template->prevArticle = array\n-\t\t\t(\n-\t\t\t\t'title' => $objPrevArticle->title,\n-\t\t\t\t'href'\t=> $this->Helper->generateUrl($arrPrev),\n-                'alias' => $objPrevArticle->alias","path":"Module/Reader.php","position":43,"original_position":43,"commit_id":"823225497809bc81204f691173a2c65e6f60a6fd","original_commit_id":"823225497809bc81204f691173a2c65e6f60a6fd","user":{"login":"psi-4ward","id":1191572,"avatar_url":"https://avatars.githubusercontent.com/u/1191572?v=3","gravatar_id":"","url":"https://api.github.com/users/psi-4ward","html_url":"https://github.com/psi-4ward","followers_url":"https://api.github.com/users/psi-4ward/followers","following_url":"https://api.github.com/users/psi-4ward/following{/other_user}","gists_url":"https://api.github.com/users/psi-4ward/gists{/gist_id}","starred_url":"https://api.github.com/users/psi-4ward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psi-4ward/subscriptions","organizations_url":"https://api.github.com/users/psi-4ward/orgs","repos_url":"https://api.github.com/users/psi-4ward/repos","events_url":"https://api.github.com/users/psi-4ward/events{/privacy}","received_events_url":"https://api.github.com/users/psi-4ward/received_events","type":"User","site_admin":false},"body":"We should not kill `alias` from the array","created_at":"2016-03-10T10:16:14Z","updated_at":"2016-03-10T10:16:14Z","html_url":"https://github.com/psi-4ward/news4ward/pull/68#discussion_r55658661","pull_request_url":"https://api.github.com/repos/psi-4ward/news4ward/pulls/68","_links":{"self":{"href":"https://api.github.com/repos/psi-4ward/news4ward/pulls/comments/55658661"},"html":{"href":"https://github.com/psi-4ward/news4ward/pull/68#discussion_r55658661"},"pull_request":{"href":"https://api.github.com/repos/psi-4ward/news4ward/pulls/68"}}},"pull_request":{"url":"https://api.github.com/repos/psi-4ward/news4ward/pulls/68","id":21107724,"html_url":"https://github.com/psi-4ward/news4ward/pull/68","diff_url":"https://github.com/psi-4ward/news4ward/pull/68.diff","patch_url":"https://github.com/psi-4ward/news4ward/pull/68.patch","issue_url":"https://api.github.com/repos/psi-4ward/news4ward/issues/68","number":68,"state":"open","locked":false,"title":"Update Reader.php","user":{"login":"frontendschlampe","id":1232819,"avatar_url":"https://avatars.githubusercontent.com/u/1232819?v=3","gravatar_id":"","url":"https://api.github.com/users/frontendschlampe","html_url":"https://github.com/frontendschlampe","followers_url":"https://api.github.com/users/frontendschlampe/followers","following_url":"https://api.github.com/users/frontendschlampe/following{/other_user}","gists_url":"https://api.github.com/users/frontendschlampe/gists{/gist_id}","starred_url":"https://api.github.com/users/frontendschlampe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frontendschlampe/subscriptions","organizations_url":"https://api.github.com/users/frontendschlampe/orgs","repos_url":"https://api.github.com/users/frontendschlampe/repos","events_url":"https://api.github.com/users/frontendschlampe/events{/privacy}","received_events_url":"https://api.github.com/users/frontendschlampe/received_events","type":"User","site_admin":false},"body":"fix errors in url generation","created_at":"2014-09-11T18:33:10Z","updated_at":"2016-03-10T10:16:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cacd43bd366ce83bb972aa792c4f49f7dfb43e3d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/psi-4ward/news4ward/pulls/68/commits","review_comments_url":"https://api.github.com/repos/psi-4ward/news4ward/pulls/68/comments","review_comment_url":"https://api.github.com/repos/psi-4ward/news4ward/pulls/comments{/number}","comments_url":"https://api.github.com/repos/psi-4ward/news4ward/issues/68/comments","statuses_url":"https://api.github.com/repos/psi-4ward/news4ward/statuses/823225497809bc81204f691173a2c65e6f60a6fd","head":{"label":"frontendschlampe:patch-4","ref":"patch-4","sha":"823225497809bc81204f691173a2c65e6f60a6fd","user":{"login":"frontendschlampe","id":1232819,"avatar_url":"https://avatars.githubusercontent.com/u/1232819?v=3","gravatar_id":"","url":"https://api.github.com/users/frontendschlampe","html_url":"https://github.com/frontendschlampe","followers_url":"https://api.github.com/users/frontendschlampe/followers","following_url":"https://api.github.com/users/frontendschlampe/following{/other_user}","gists_url":"https://api.github.com/users/frontendschlampe/gists{/gist_id}","starred_url":"https://api.github.com/users/frontendschlampe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frontendschlampe/subscriptions","organizations_url":"https://api.github.com/users/frontendschlampe/orgs","repos_url":"https://api.github.com/users/frontendschlampe/repos","events_url":"https://api.github.com/users/frontendschlampe/events{/privacy}","received_events_url":"https://api.github.com/users/frontendschlampe/received_events","type":"User","site_admin":false},"repo":{"id":22436146,"name":"news4ward","full_name":"frontendschlampe/news4ward","owner":{"login":"frontendschlampe","id":1232819,"avatar_url":"https://avatars.githubusercontent.com/u/1232819?v=3","gravatar_id":"","url":"https://api.github.com/users/frontendschlampe","html_url":"https://github.com/frontendschlampe","followers_url":"https://api.github.com/users/frontendschlampe/followers","following_url":"https://api.github.com/users/frontendschlampe/following{/other_user}","gists_url":"https://api.github.com/users/frontendschlampe/gists{/gist_id}","starred_url":"https://api.github.com/users/frontendschlampe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frontendschlampe/subscriptions","organizations_url":"https://api.github.com/users/frontendschlampe/orgs","repos_url":"https://api.github.com/users/frontendschlampe/repos","events_url":"https://api.github.com/users/frontendschlampe/events{/privacy}","received_events_url":"https://api.github.com/users/frontendschlampe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/frontendschlampe/news4ward","description":"Contao Extensions: News/Blog based on contentelements","fork":true,"url":"https://api.github.com/repos/frontendschlampe/news4ward","forks_url":"https://api.github.com/repos/frontendschlampe/news4ward/forks","keys_url":"https://api.github.com/repos/frontendschlampe/news4ward/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frontendschlampe/news4ward/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frontendschlampe/news4ward/teams","hooks_url":"https://api.github.com/repos/frontendschlampe/news4ward/hooks","issue_events_url":"https://api.github.com/repos/frontendschlampe/news4ward/issues/events{/number}","events_url":"https://api.github.com/repos/frontendschlampe/news4ward/events","assignees_url":"https://api.github.com/repos/frontendschlampe/news4ward/assignees{/user}","branches_url":"https://api.github.com/repos/frontendschlampe/news4ward/branches{/branch}","tags_url":"https://api.github.com/repos/frontendschlampe/news4ward/tags","blobs_url":"https://api.github.com/repos/frontendschlampe/news4ward/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frontendschlampe/news4ward/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frontendschlampe/news4ward/git/refs{/sha}","trees_url":"https://api.github.com/repos/frontendschlampe/news4ward/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frontendschlampe/news4ward/statuses/{sha}","languages_url":"https://api.github.com/repos/frontendschlampe/news4ward/languages","stargazers_url":"https://api.github.com/repos/frontendschlampe/news4ward/stargazers","contributors_url":"https://api.github.com/repos/frontendschlampe/news4ward/contributors","subscribers_url":"https://api.github.com/repos/frontendschlampe/news4ward/subscribers","subscription_url":"https://api.github.com/repos/frontendschlampe/news4ward/subscription","commits_url":"https://api.github.com/repos/frontendschlampe/news4ward/commits{/sha}","git_commits_url":"https://api.github.com/repos/frontendschlampe/news4ward/git/commits{/sha}","comments_url":"https://api.github.com/repos/frontendschlampe/news4ward/comments{/number}","issue_comment_url":"https://api.github.com/repos/frontendschlampe/news4ward/issues/comments{/number}","contents_url":"https://api.github.com/repos/frontendschlampe/news4ward/contents/{+path}","compare_url":"https://api.github.com/repos/frontendschlampe/news4ward/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frontendschlampe/news4ward/merges","archive_url":"https://api.github.com/repos/frontendschlampe/news4ward/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frontendschlampe/news4ward/downloads","issues_url":"https://api.github.com/repos/frontendschlampe/news4ward/issues{/number}","pulls_url":"https://api.github.com/repos/frontendschlampe/news4ward/pulls{/number}","milestones_url":"https://api.github.com/repos/frontendschlampe/news4ward/milestones{/number}","notifications_url":"https://api.github.com/repos/frontendschlampe/news4ward/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frontendschlampe/news4ward/labels{/name}","releases_url":"https://api.github.com/repos/frontendschlampe/news4ward/releases{/id}","deployments_url":"https://api.github.com/repos/frontendschlampe/news4ward/deployments","created_at":"2014-07-30T16:38:20Z","updated_at":"2014-07-30T20:37:52Z","pushed_at":"2014-09-11T18:31:51Z","git_url":"git://github.com/frontendschlampe/news4ward.git","ssh_url":"git@github.com:frontendschlampe/news4ward.git","clone_url":"https://github.com/frontendschlampe/news4ward.git","svn_url":"https://github.com/frontendschlampe/news4ward","homepage":"","size":374,"stargazers_count":0,"watchers_count":0,"language":null,"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":"psi-4ward:master","ref":"master","sha":"8d54121543c530dc9bca5d2a23958c18cbed7a07","user":{"login":"psi-4ward","id":1191572,"avatar_url":"https://avatars.githubusercontent.com/u/1191572?v=3","gravatar_id":"","url":"https://api.github.com/users/psi-4ward","html_url":"https://github.com/psi-4ward","followers_url":"https://api.github.com/users/psi-4ward/followers","following_url":"https://api.github.com/users/psi-4ward/following{/other_user}","gists_url":"https://api.github.com/users/psi-4ward/gists{/gist_id}","starred_url":"https://api.github.com/users/psi-4ward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psi-4ward/subscriptions","organizations_url":"https://api.github.com/users/psi-4ward/orgs","repos_url":"https://api.github.com/users/psi-4ward/repos","events_url":"https://api.github.com/users/psi-4ward/events{/privacy}","received_events_url":"https://api.github.com/users/psi-4ward/received_events","type":"User","site_admin":false},"repo":{"id":2804998,"name":"news4ward","full_name":"psi-4ward/news4ward","owner":{"login":"psi-4ward","id":1191572,"avatar_url":"https://avatars.githubusercontent.com/u/1191572?v=3","gravatar_id":"","url":"https://api.github.com/users/psi-4ward","html_url":"https://github.com/psi-4ward","followers_url":"https://api.github.com/users/psi-4ward/followers","following_url":"https://api.github.com/users/psi-4ward/following{/other_user}","gists_url":"https://api.github.com/users/psi-4ward/gists{/gist_id}","starred_url":"https://api.github.com/users/psi-4ward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psi-4ward/subscriptions","organizations_url":"https://api.github.com/users/psi-4ward/orgs","repos_url":"https://api.github.com/users/psi-4ward/repos","events_url":"https://api.github.com/users/psi-4ward/events{/privacy}","received_events_url":"https://api.github.com/users/psi-4ward/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/psi-4ward/news4ward","description":"Contao Extensions: News/Blog based on contentelements","fork":false,"url":"https://api.github.com/repos/psi-4ward/news4ward","forks_url":"https://api.github.com/repos/psi-4ward/news4ward/forks","keys_url":"https://api.github.com/repos/psi-4ward/news4ward/keys{/key_id}","collaborators_url":"https://api.github.com/repos/psi-4ward/news4ward/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/psi-4ward/news4ward/teams","hooks_url":"https://api.github.com/repos/psi-4ward/news4ward/hooks","issue_events_url":"https://api.github.com/repos/psi-4ward/news4ward/issues/events{/number}","events_url":"https://api.github.com/repos/psi-4ward/news4ward/events","assignees_url":"https://api.github.com/repos/psi-4ward/news4ward/assignees{/user}","branches_url":"https://api.github.com/repos/psi-4ward/news4ward/branches{/branch}","tags_url":"https://api.github.com/repos/psi-4ward/news4ward/tags","blobs_url":"https://api.github.com/repos/psi-4ward/news4ward/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/psi-4ward/news4ward/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/psi-4ward/news4ward/git/refs{/sha}","trees_url":"https://api.github.com/repos/psi-4ward/news4ward/git/trees{/sha}","statuses_url":"https://api.github.com/repos/psi-4ward/news4ward/statuses/{sha}","languages_url":"https://api.github.com/repos/psi-4ward/news4ward/languages","stargazers_url":"https://api.github.com/repos/psi-4ward/news4ward/stargazers","contributors_url":"https://api.github.com/repos/psi-4ward/news4ward/contributors","subscribers_url":"https://api.github.com/repos/psi-4ward/news4ward/subscribers","subscription_url":"https://api.github.com/repos/psi-4ward/news4ward/subscription","commits_url":"https://api.github.com/repos/psi-4ward/news4ward/commits{/sha}","git_commits_url":"https://api.github.com/repos/psi-4ward/news4ward/git/commits{/sha}","comments_url":"https://api.github.com/repos/psi-4ward/news4ward/comments{/number}","issue_comment_url":"https://api.github.com/repos/psi-4ward/news4ward/issues/comments{/number}","contents_url":"https://api.github.com/repos/psi-4ward/news4ward/contents/{+path}","compare_url":"https://api.github.com/repos/psi-4ward/news4ward/compare/{base}...{head}","merges_url":"https://api.github.com/repos/psi-4ward/news4ward/merges","archive_url":"https://api.github.com/repos/psi-4ward/news4ward/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/psi-4ward/news4ward/downloads","issues_url":"https://api.github.com/repos/psi-4ward/news4ward/issues{/number}","pulls_url":"https://api.github.com/repos/psi-4ward/news4ward/pulls{/number}","milestones_url":"https://api.github.com/repos/psi-4ward/news4ward/milestones{/number}","notifications_url":"https://api.github.com/repos/psi-4ward/news4ward/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/psi-4ward/news4ward/labels{/name}","releases_url":"https://api.github.com/repos/psi-4ward/news4ward/releases{/id}","deployments_url":"https://api.github.com/repos/psi-4ward/news4ward/deployments","created_at":"2011-11-18T19:37:57Z","updated_at":"2016-02-23T21:40:18Z","pushed_at":"2015-05-06T14:08:34Z","git_url":"git://github.com/psi-4ward/news4ward.git","ssh_url":"git@github.com:psi-4ward/news4ward.git","clone_url":"https://github.com/psi-4ward/news4ward.git","svn_url":"https://github.com/psi-4ward/news4ward","homepage":"","size":671,"stargazers_count":14,"watchers_count":14,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":13,"forks":13,"open_issues":13,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/psi-4ward/news4ward/pulls/68"},"html":{"href":"https://github.com/psi-4ward/news4ward/pull/68"},"issue":{"href":"https://api.github.com/repos/psi-4ward/news4ward/issues/68"},"comments":{"href":"https://api.github.com/repos/psi-4ward/news4ward/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/psi-4ward/news4ward/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/psi-4ward/news4ward/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/psi-4ward/news4ward/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/psi-4ward/news4ward/statuses/823225497809bc81204f691173a2c65e6f60a6fd"}}}}