{"action":"created","comment":{"url":"https://api.github.com/repos/forkcms/forkcms/pulls/comments/143288804","pull_request_review_id":67785790,"id":143288804,"diff_hunk":"@@ -137,7 +137,7 @@ public static function invalidateCache(): void\n      */\n     public static function removeIndex(string $module, int $otherId, string $language = null): void\n     {\n-        if (BackendModel::isModuleInstalled('Search')) {\n+        if (!BackendModel::isModuleInstalled('Search')) {","path":"src/Backend/Modules/Search/Engine/Model.php","position":5,"original_position":5,"commit_id":"a19b978ec18b0f22282463bb83c8a66dfb00237b","original_commit_id":"a19b978ec18b0f22282463bb83c8a66dfb00237b","user":{"login":"carakas","id":3634654,"avatar_url":"https://avatars3.githubusercontent.com/u/3634654?v=4","gravatar_id":"","url":"https://api.github.com/users/carakas","html_url":"https://github.com/carakas","followers_url":"https://api.github.com/users/carakas/followers","following_url":"https://api.github.com/users/carakas/following{/other_user}","gists_url":"https://api.github.com/users/carakas/gists{/gist_id}","starred_url":"https://api.github.com/users/carakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carakas/subscriptions","organizations_url":"https://api.github.com/users/carakas/orgs","repos_url":"https://api.github.com/users/carakas/repos","events_url":"https://api.github.com/users/carakas/events{/privacy}","received_events_url":"https://api.github.com/users/carakas/received_events","type":"User","site_admin":false},"body":"nice catch","created_at":"2017-10-06T20:35:08Z","updated_at":"2017-10-06T20:35:12Z","html_url":"https://github.com/forkcms/forkcms/pull/2296#discussion_r143288804","pull_request_url":"https://api.github.com/repos/forkcms/forkcms/pulls/2296","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/comments/143288804"},"html":{"href":"https://github.com/forkcms/forkcms/pull/2296#discussion_r143288804"},"pull_request":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/2296"}}},"pull_request":{"url":"https://api.github.com/repos/forkcms/forkcms/pulls/2296","id":145240320,"html_url":"https://github.com/forkcms/forkcms/pull/2296","diff_url":"https://github.com/forkcms/forkcms/pull/2296.diff","patch_url":"https://github.com/forkcms/forkcms/pull/2296.patch","issue_url":"https://api.github.com/repos/forkcms/forkcms/issues/2296","number":2296,"state":"open","locked":false,"title":"Bug redirects in search module","user":{"login":"ohvitorino","id":848112,"avatar_url":"https://avatars3.githubusercontent.com/u/848112?v=4","gravatar_id":"","url":"https://api.github.com/users/ohvitorino","html_url":"https://github.com/ohvitorino","followers_url":"https://api.github.com/users/ohvitorino/followers","following_url":"https://api.github.com/users/ohvitorino/following{/other_user}","gists_url":"https://api.github.com/users/ohvitorino/gists{/gist_id}","starred_url":"https://api.github.com/users/ohvitorino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohvitorino/subscriptions","organizations_url":"https://api.github.com/users/ohvitorino/orgs","repos_url":"https://api.github.com/users/ohvitorino/repos","events_url":"https://api.github.com/users/ohvitorino/events{/privacy}","received_events_url":"https://api.github.com/users/ohvitorino/received_events","type":"User","site_admin":false},"body":"## Type\r\n\r\n- Non critical bugfix\r\n\r\n## Resolves the following issues\r\n\r\nFixes: https://github.com/forkcms/forkcms/issues/2273\r\n\r\n## Pull request description\r\n\r\nThis PR modifies the Add and Edit actions of the Pages modules so that it only adds pages to the search index if they aren't pages containing redirections.\r\n","created_at":"2017-10-06T20:32:57Z","updated_at":"2017-10-06T20:35:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71bd89ca2845976d8a42208f058fd02a77520f72","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/forkcms/forkcms/pulls/2296/commits","review_comments_url":"https://api.github.com/repos/forkcms/forkcms/pulls/2296/comments","review_comment_url":"https://api.github.com/repos/forkcms/forkcms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/forkcms/forkcms/issues/2296/comments","statuses_url":"https://api.github.com/repos/forkcms/forkcms/statuses/a19b978ec18b0f22282463bb83c8a66dfb00237b","head":{"label":"ohvitorino:bug-redirects-in-search-module","ref":"bug-redirects-in-search-module","sha":"a19b978ec18b0f22282463bb83c8a66dfb00237b","user":{"login":"ohvitorino","id":848112,"avatar_url":"https://avatars3.githubusercontent.com/u/848112?v=4","gravatar_id":"","url":"https://api.github.com/users/ohvitorino","html_url":"https://github.com/ohvitorino","followers_url":"https://api.github.com/users/ohvitorino/followers","following_url":"https://api.github.com/users/ohvitorino/following{/other_user}","gists_url":"https://api.github.com/users/ohvitorino/gists{/gist_id}","starred_url":"https://api.github.com/users/ohvitorino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohvitorino/subscriptions","organizations_url":"https://api.github.com/users/ohvitorino/orgs","repos_url":"https://api.github.com/users/ohvitorino/repos","events_url":"https://api.github.com/users/ohvitorino/events{/privacy}","received_events_url":"https://api.github.com/users/ohvitorino/received_events","type":"User","site_admin":false},"repo":{"id":94451397,"name":"forkcms","full_name":"ohvitorino/forkcms","owner":{"login":"ohvitorino","id":848112,"avatar_url":"https://avatars3.githubusercontent.com/u/848112?v=4","gravatar_id":"","url":"https://api.github.com/users/ohvitorino","html_url":"https://github.com/ohvitorino","followers_url":"https://api.github.com/users/ohvitorino/followers","following_url":"https://api.github.com/users/ohvitorino/following{/other_user}","gists_url":"https://api.github.com/users/ohvitorino/gists{/gist_id}","starred_url":"https://api.github.com/users/ohvitorino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohvitorino/subscriptions","organizations_url":"https://api.github.com/users/ohvitorino/orgs","repos_url":"https://api.github.com/users/ohvitorino/repos","events_url":"https://api.github.com/users/ohvitorino/events{/privacy}","received_events_url":"https://api.github.com/users/ohvitorino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ohvitorino/forkcms","description":"Fork is an easy to use open source CMS using Symfony Components.","fork":true,"url":"https://api.github.com/repos/ohvitorino/forkcms","forks_url":"https://api.github.com/repos/ohvitorino/forkcms/forks","keys_url":"https://api.github.com/repos/ohvitorino/forkcms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ohvitorino/forkcms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ohvitorino/forkcms/teams","hooks_url":"https://api.github.com/repos/ohvitorino/forkcms/hooks","issue_events_url":"https://api.github.com/repos/ohvitorino/forkcms/issues/events{/number}","events_url":"https://api.github.com/repos/ohvitorino/forkcms/events","assignees_url":"https://api.github.com/repos/ohvitorino/forkcms/assignees{/user}","branches_url":"https://api.github.com/repos/ohvitorino/forkcms/branches{/branch}","tags_url":"https://api.github.com/repos/ohvitorino/forkcms/tags","blobs_url":"https://api.github.com/repos/ohvitorino/forkcms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ohvitorino/forkcms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ohvitorino/forkcms/git/refs{/sha}","trees_url":"https://api.github.com/repos/ohvitorino/forkcms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ohvitorino/forkcms/statuses/{sha}","languages_url":"https://api.github.com/repos/ohvitorino/forkcms/languages","stargazers_url":"https://api.github.com/repos/ohvitorino/forkcms/stargazers","contributors_url":"https://api.github.com/repos/ohvitorino/forkcms/contributors","subscribers_url":"https://api.github.com/repos/ohvitorino/forkcms/subscribers","subscription_url":"https://api.github.com/repos/ohvitorino/forkcms/subscription","commits_url":"https://api.github.com/repos/ohvitorino/forkcms/commits{/sha}","git_commits_url":"https://api.github.com/repos/ohvitorino/forkcms/git/commits{/sha}","comments_url":"https://api.github.com/repos/ohvitorino/forkcms/comments{/number}","issue_comment_url":"https://api.github.com/repos/ohvitorino/forkcms/issues/comments{/number}","contents_url":"https://api.github.com/repos/ohvitorino/forkcms/contents/{+path}","compare_url":"https://api.github.com/repos/ohvitorino/forkcms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ohvitorino/forkcms/merges","archive_url":"https://api.github.com/repos/ohvitorino/forkcms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ohvitorino/forkcms/downloads","issues_url":"https://api.github.com/repos/ohvitorino/forkcms/issues{/number}","pulls_url":"https://api.github.com/repos/ohvitorino/forkcms/pulls{/number}","milestones_url":"https://api.github.com/repos/ohvitorino/forkcms/milestones{/number}","notifications_url":"https://api.github.com/repos/ohvitorino/forkcms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ohvitorino/forkcms/labels{/name}","releases_url":"https://api.github.com/repos/ohvitorino/forkcms/releases{/id}","deployments_url":"https://api.github.com/repos/ohvitorino/forkcms/deployments","created_at":"2017-06-15T15:08:16Z","updated_at":"2017-06-15T15:08:21Z","pushed_at":"2017-10-06T20:29:29Z","git_url":"git://github.com/ohvitorino/forkcms.git","ssh_url":"git@github.com:ohvitorino/forkcms.git","clone_url":"https://github.com/ohvitorino/forkcms.git","svn_url":"https://github.com/ohvitorino/forkcms","homepage":"http://www.fork-cms.com","size":70957,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"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":"forkcms:master","ref":"master","sha":"8e1173c77ea2b5ae2d7a2bc9b6b0f9a6aae8b200","user":{"login":"forkcms","id":312505,"avatar_url":"https://avatars1.githubusercontent.com/u/312505?v=4","gravatar_id":"","url":"https://api.github.com/users/forkcms","html_url":"https://github.com/forkcms","followers_url":"https://api.github.com/users/forkcms/followers","following_url":"https://api.github.com/users/forkcms/following{/other_user}","gists_url":"https://api.github.com/users/forkcms/gists{/gist_id}","starred_url":"https://api.github.com/users/forkcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forkcms/subscriptions","organizations_url":"https://api.github.com/users/forkcms/orgs","repos_url":"https://api.github.com/users/forkcms/repos","events_url":"https://api.github.com/users/forkcms/events{/privacy}","received_events_url":"https://api.github.com/users/forkcms/received_events","type":"Organization","site_admin":false},"repo":{"id":1138583,"name":"forkcms","full_name":"forkcms/forkcms","owner":{"login":"forkcms","id":312505,"avatar_url":"https://avatars1.githubusercontent.com/u/312505?v=4","gravatar_id":"","url":"https://api.github.com/users/forkcms","html_url":"https://github.com/forkcms","followers_url":"https://api.github.com/users/forkcms/followers","following_url":"https://api.github.com/users/forkcms/following{/other_user}","gists_url":"https://api.github.com/users/forkcms/gists{/gist_id}","starred_url":"https://api.github.com/users/forkcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forkcms/subscriptions","organizations_url":"https://api.github.com/users/forkcms/orgs","repos_url":"https://api.github.com/users/forkcms/repos","events_url":"https://api.github.com/users/forkcms/events{/privacy}","received_events_url":"https://api.github.com/users/forkcms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/forkcms/forkcms","description":"Fork is an easy to use open source CMS using Symfony Components.","fork":false,"url":"https://api.github.com/repos/forkcms/forkcms","forks_url":"https://api.github.com/repos/forkcms/forkcms/forks","keys_url":"https://api.github.com/repos/forkcms/forkcms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/forkcms/forkcms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/forkcms/forkcms/teams","hooks_url":"https://api.github.com/repos/forkcms/forkcms/hooks","issue_events_url":"https://api.github.com/repos/forkcms/forkcms/issues/events{/number}","events_url":"https://api.github.com/repos/forkcms/forkcms/events","assignees_url":"https://api.github.com/repos/forkcms/forkcms/assignees{/user}","branches_url":"https://api.github.com/repos/forkcms/forkcms/branches{/branch}","tags_url":"https://api.github.com/repos/forkcms/forkcms/tags","blobs_url":"https://api.github.com/repos/forkcms/forkcms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/forkcms/forkcms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/forkcms/forkcms/git/refs{/sha}","trees_url":"https://api.github.com/repos/forkcms/forkcms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/forkcms/forkcms/statuses/{sha}","languages_url":"https://api.github.com/repos/forkcms/forkcms/languages","stargazers_url":"https://api.github.com/repos/forkcms/forkcms/stargazers","contributors_url":"https://api.github.com/repos/forkcms/forkcms/contributors","subscribers_url":"https://api.github.com/repos/forkcms/forkcms/subscribers","subscription_url":"https://api.github.com/repos/forkcms/forkcms/subscription","commits_url":"https://api.github.com/repos/forkcms/forkcms/commits{/sha}","git_commits_url":"https://api.github.com/repos/forkcms/forkcms/git/commits{/sha}","comments_url":"https://api.github.com/repos/forkcms/forkcms/comments{/number}","issue_comment_url":"https://api.github.com/repos/forkcms/forkcms/issues/comments{/number}","contents_url":"https://api.github.com/repos/forkcms/forkcms/contents/{+path}","compare_url":"https://api.github.com/repos/forkcms/forkcms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/forkcms/forkcms/merges","archive_url":"https://api.github.com/repos/forkcms/forkcms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/forkcms/forkcms/downloads","issues_url":"https://api.github.com/repos/forkcms/forkcms/issues{/number}","pulls_url":"https://api.github.com/repos/forkcms/forkcms/pulls{/number}","milestones_url":"https://api.github.com/repos/forkcms/forkcms/milestones{/number}","notifications_url":"https://api.github.com/repos/forkcms/forkcms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/forkcms/forkcms/labels{/name}","releases_url":"https://api.github.com/repos/forkcms/forkcms/releases{/id}","deployments_url":"https://api.github.com/repos/forkcms/forkcms/deployments","created_at":"2010-12-04T18:06:15Z","updated_at":"2017-10-05T14:52:05Z","pushed_at":"2017-10-06T20:32:57Z","git_url":"git://github.com/forkcms/forkcms.git","ssh_url":"git@github.com:forkcms/forkcms.git","clone_url":"https://github.com/forkcms/forkcms.git","svn_url":"https://github.com/forkcms/forkcms","homepage":"http://www.fork-cms.com","size":71791,"stargazers_count":992,"watchers_count":992,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":253,"mirror_url":null,"open_issues_count":49,"forks":253,"open_issues":49,"watchers":992,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/2296"},"html":{"href":"https://github.com/forkcms/forkcms/pull/2296"},"issue":{"href":"https://api.github.com/repos/forkcms/forkcms/issues/2296"},"comments":{"href":"https://api.github.com/repos/forkcms/forkcms/issues/2296/comments"},"review_comments":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/2296/comments"},"review_comment":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/2296/commits"},"statuses":{"href":"https://api.github.com/repos/forkcms/forkcms/statuses/a19b978ec18b0f22282463bb83c8a66dfb00237b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"carakas"}}