{"action":"opened","number":36,"pull_request":{"url":"https://api.github.com/repos/ChrisKian/liferay-portal/pulls/36","id":178182129,"html_url":"https://github.com/ChrisKian/liferay-portal/pull/36","diff_url":"https://github.com/ChrisKian/liferay-portal/pull/36.diff","patch_url":"https://github.com/ChrisKian/liferay-portal/pull/36.patch","issue_url":"https://api.github.com/repos/ChrisKian/liferay-portal/issues/36","number":36,"state":"open","locked":false,"title":"Lps 78055","user":{"login":"joshuacords","id":20051725,"avatar_url":"https://avatars3.githubusercontent.com/u/20051725?v=4","gravatar_id":"","url":"https://api.github.com/users/joshuacords","html_url":"https://github.com/joshuacords","followers_url":"https://api.github.com/users/joshuacords/followers","following_url":"https://api.github.com/users/joshuacords/following{/other_user}","gists_url":"https://api.github.com/users/joshuacords/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuacords/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuacords/subscriptions","organizations_url":"https://api.github.com/users/joshuacords/orgs","repos_url":"https://api.github.com/users/joshuacords/repos","events_url":"https://api.github.com/users/joshuacords/events{/privacy}","received_events_url":"https://api.github.com/users/joshuacords/received_events","type":"User","site_admin":false},"body":"Ticket: [LPS-78055](https://issues.liferay.com/browse/LPS-78055)\r\n\r\nI removed the choice Jared added based on what I found described [here](https://github.com/joshuacords/liferay-portal/pull/16#issuecomment-377055314).\r\n\r\nNotes from @jareddomio\r\nProblem: After a user Confirms/ignores a request notification the notification does not disappear from the search container. Instead the notification's body is replaced with the message \"Notification no longer applies, notification for invite members was deleted\".\r\n\r\nSolution: The cause of the problem was the search containers results were being populated with all of the notifications that were designated as 'actionRequired'. This filter was too broad because this includes request notifications that the user already clicked on/archived. The solution was to make sure the search container results were populated with notifications that have 'actionRequired==true' and 'archived==false'. Archived set to false means the notification has not yet been read.\r\n\r\nIt is also necessary to force a page refresh to get the updated search container to display correctly. In a previous PR I refreshed the page using location.reload() in notification/view.jsp. This was a bad approach because the action was being processed after the page reloaded instead of before. To ensure the page is refreshed after the action is processed I instead submitted the form and set the method to 'post'. ","created_at":"2018-03-28T22:30:13Z","updated_at":"2018-03-28T22:30:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ChrisKian/liferay-portal/pulls/36/commits","review_comments_url":"https://api.github.com/repos/ChrisKian/liferay-portal/pulls/36/comments","review_comment_url":"https://api.github.com/repos/ChrisKian/liferay-portal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ChrisKian/liferay-portal/issues/36/comments","statuses_url":"https://api.github.com/repos/ChrisKian/liferay-portal/statuses/72686ee5630df680f77c40ef1ea7b1899e0ac867","head":{"label":"joshuacords:LPS-78055","ref":"LPS-78055","sha":"72686ee5630df680f77c40ef1ea7b1899e0ac867","user":{"login":"joshuacords","id":20051725,"avatar_url":"https://avatars3.githubusercontent.com/u/20051725?v=4","gravatar_id":"","url":"https://api.github.com/users/joshuacords","html_url":"https://github.com/joshuacords","followers_url":"https://api.github.com/users/joshuacords/followers","following_url":"https://api.github.com/users/joshuacords/following{/other_user}","gists_url":"https://api.github.com/users/joshuacords/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuacords/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuacords/subscriptions","organizations_url":"https://api.github.com/users/joshuacords/orgs","repos_url":"https://api.github.com/users/joshuacords/repos","events_url":"https://api.github.com/users/joshuacords/events{/privacy}","received_events_url":"https://api.github.com/users/joshuacords/received_events","type":"User","site_admin":false},"repo":{"id":70831592,"name":"liferay-portal","full_name":"joshuacords/liferay-portal","owner":{"login":"joshuacords","id":20051725,"avatar_url":"https://avatars3.githubusercontent.com/u/20051725?v=4","gravatar_id":"","url":"https://api.github.com/users/joshuacords","html_url":"https://github.com/joshuacords","followers_url":"https://api.github.com/users/joshuacords/followers","following_url":"https://api.github.com/users/joshuacords/following{/other_user}","gists_url":"https://api.github.com/users/joshuacords/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuacords/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuacords/subscriptions","organizations_url":"https://api.github.com/users/joshuacords/orgs","repos_url":"https://api.github.com/users/joshuacords/repos","events_url":"https://api.github.com/users/joshuacords/events{/privacy}","received_events_url":"https://api.github.com/users/joshuacords/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joshuacords/liferay-portal","description":null,"fork":true,"url":"https://api.github.com/repos/joshuacords/liferay-portal","forks_url":"https://api.github.com/repos/joshuacords/liferay-portal/forks","keys_url":"https://api.github.com/repos/joshuacords/liferay-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joshuacords/liferay-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joshuacords/liferay-portal/teams","hooks_url":"https://api.github.com/repos/joshuacords/liferay-portal/hooks","issue_events_url":"https://api.github.com/repos/joshuacords/liferay-portal/issues/events{/number}","events_url":"https://api.github.com/repos/joshuacords/liferay-portal/events","assignees_url":"https://api.github.com/repos/joshuacords/liferay-portal/assignees{/user}","branches_url":"https://api.github.com/repos/joshuacords/liferay-portal/branches{/branch}","tags_url":"https://api.github.com/repos/joshuacords/liferay-portal/tags","blobs_url":"https://api.github.com/repos/joshuacords/liferay-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joshuacords/liferay-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joshuacords/liferay-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/joshuacords/liferay-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joshuacords/liferay-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/joshuacords/liferay-portal/languages","stargazers_url":"https://api.github.com/repos/joshuacords/liferay-portal/stargazers","contributors_url":"https://api.github.com/repos/joshuacords/liferay-portal/contributors","subscribers_url":"https://api.github.com/repos/joshuacords/liferay-portal/subscribers","subscription_url":"https://api.github.com/repos/joshuacords/liferay-portal/subscription","commits_url":"https://api.github.com/repos/joshuacords/liferay-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/joshuacords/liferay-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/joshuacords/liferay-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/joshuacords/liferay-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/joshuacords/liferay-portal/contents/{+path}","compare_url":"https://api.github.com/repos/joshuacords/liferay-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joshuacords/liferay-portal/merges","archive_url":"https://api.github.com/repos/joshuacords/liferay-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joshuacords/liferay-portal/downloads","issues_url":"https://api.github.com/repos/joshuacords/liferay-portal/issues{/number}","pulls_url":"https://api.github.com/repos/joshuacords/liferay-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/joshuacords/liferay-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/joshuacords/liferay-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joshuacords/liferay-portal/labels{/name}","releases_url":"https://api.github.com/repos/joshuacords/liferay-portal/releases{/id}","deployments_url":"https://api.github.com/repos/joshuacords/liferay-portal/deployments","created_at":"2016-10-13T17:34:12Z","updated_at":"2018-03-28T22:20:27Z","pushed_at":"2018-03-28T22:27:25Z","git_url":"git://github.com/joshuacords/liferay-portal.git","ssh_url":"git@github.com:joshuacords/liferay-portal.git","clone_url":"https://github.com/joshuacords/liferay-portal.git","svn_url":"https://github.com/joshuacords/liferay-portal","homepage":"http://liferay.com","size":12567066,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ChrisKian:master","ref":"master","sha":"c0b567557593c262618c164c0f7c205e1d75aa71","user":{"login":"ChrisKian","id":10406971,"avatar_url":"https://avatars1.githubusercontent.com/u/10406971?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisKian","html_url":"https://github.com/ChrisKian","followers_url":"https://api.github.com/users/ChrisKian/followers","following_url":"https://api.github.com/users/ChrisKian/following{/other_user}","gists_url":"https://api.github.com/users/ChrisKian/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisKian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisKian/subscriptions","organizations_url":"https://api.github.com/users/ChrisKian/orgs","repos_url":"https://api.github.com/users/ChrisKian/repos","events_url":"https://api.github.com/users/ChrisKian/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisKian/received_events","type":"User","site_admin":false},"repo":{"id":28833685,"name":"liferay-portal","full_name":"ChrisKian/liferay-portal","owner":{"login":"ChrisKian","id":10406971,"avatar_url":"https://avatars1.githubusercontent.com/u/10406971?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisKian","html_url":"https://github.com/ChrisKian","followers_url":"https://api.github.com/users/ChrisKian/followers","following_url":"https://api.github.com/users/ChrisKian/following{/other_user}","gists_url":"https://api.github.com/users/ChrisKian/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisKian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisKian/subscriptions","organizations_url":"https://api.github.com/users/ChrisKian/orgs","repos_url":"https://api.github.com/users/ChrisKian/repos","events_url":"https://api.github.com/users/ChrisKian/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisKian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChrisKian/liferay-portal","description":null,"fork":true,"url":"https://api.github.com/repos/ChrisKian/liferay-portal","forks_url":"https://api.github.com/repos/ChrisKian/liferay-portal/forks","keys_url":"https://api.github.com/repos/ChrisKian/liferay-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChrisKian/liferay-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChrisKian/liferay-portal/teams","hooks_url":"https://api.github.com/repos/ChrisKian/liferay-portal/hooks","issue_events_url":"https://api.github.com/repos/ChrisKian/liferay-portal/issues/events{/number}","events_url":"https://api.github.com/repos/ChrisKian/liferay-portal/events","assignees_url":"https://api.github.com/repos/ChrisKian/liferay-portal/assignees{/user}","branches_url":"https://api.github.com/repos/ChrisKian/liferay-portal/branches{/branch}","tags_url":"https://api.github.com/repos/ChrisKian/liferay-portal/tags","blobs_url":"https://api.github.com/repos/ChrisKian/liferay-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChrisKian/liferay-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChrisKian/liferay-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChrisKian/liferay-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChrisKian/liferay-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/ChrisKian/liferay-portal/languages","stargazers_url":"https://api.github.com/repos/ChrisKian/liferay-portal/stargazers","contributors_url":"https://api.github.com/repos/ChrisKian/liferay-portal/contributors","subscribers_url":"https://api.github.com/repos/ChrisKian/liferay-portal/subscribers","subscription_url":"https://api.github.com/repos/ChrisKian/liferay-portal/subscription","commits_url":"https://api.github.com/repos/ChrisKian/liferay-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChrisKian/liferay-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChrisKian/liferay-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChrisKian/liferay-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/ChrisKian/liferay-portal/contents/{+path}","compare_url":"https://api.github.com/repos/ChrisKian/liferay-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChrisKian/liferay-portal/merges","archive_url":"https://api.github.com/repos/ChrisKian/liferay-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChrisKian/liferay-portal/downloads","issues_url":"https://api.github.com/repos/ChrisKian/liferay-portal/issues{/number}","pulls_url":"https://api.github.com/repos/ChrisKian/liferay-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/ChrisKian/liferay-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/ChrisKian/liferay-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChrisKian/liferay-portal/labels{/name}","releases_url":"https://api.github.com/repos/ChrisKian/liferay-portal/releases{/id}","deployments_url":"https://api.github.com/repos/ChrisKian/liferay-portal/deployments","created_at":"2015-01-05T21:55:20Z","updated_at":"2018-03-23T00:45:43Z","pushed_at":"2018-03-28T17:52:26Z","git_url":"git://github.com/ChrisKian/liferay-portal.git","ssh_url":"git@github.com:ChrisKian/liferay-portal.git","clone_url":"https://github.com/ChrisKian/liferay-portal.git","svn_url":"https://github.com/ChrisKian/liferay-portal","homepage":"http://liferay.com","size":12278961,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ChrisKian/liferay-portal/pulls/36"},"html":{"href":"https://github.com/ChrisKian/liferay-portal/pull/36"},"issue":{"href":"https://api.github.com/repos/ChrisKian/liferay-portal/issues/36"},"comments":{"href":"https://api.github.com/repos/ChrisKian/liferay-portal/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/ChrisKian/liferay-portal/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/ChrisKian/liferay-portal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ChrisKian/liferay-portal/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/ChrisKian/liferay-portal/statuses/72686ee5630df680f77c40ef1ea7b1899e0ac867"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":711,"additions":40385,"deletions":10222,"changed_files":1621}}
{"actor":{"display_login":"joshuacords"}}