{"action":"created","comment":{"url":"https://api.github.com/repos/hmcts/ccd-case-management-web/pulls/comments/218045074","pull_request_review_id":155893727,"id":218045074,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODA0NTA3NA==","diff_hunk":"@@ -108,11 +106,4 @@ export class SearchFiltersComponent implements OnInit {\n     return this.selected.jurisdiction === null  ||\n            this.selected.jurisdiction === undefined;\n   }\n-\n-  private selectCaseType(caseTypes: CaseType[]) {\n-    if (caseTypes.length === 1) {\n-      this.selected.caseType = caseTypes[0];\n-      this.onCaseTypeIdChange();","path":"src/app/shared/search/filters/search-filters.component.ts","position":28,"original_position":28,"commit_id":"3dc73b5f0358053a34583fdd519959e959e0c63b","original_commit_id":"3dc73b5f0358053a34583fdd519959e959e0c63b","user":{"login":"andrewfolga","id":5024942,"node_id":"MDQ6VXNlcjUwMjQ5NDI=","avatar_url":"https://avatars0.githubusercontent.com/u/5024942?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewfolga","html_url":"https://github.com/andrewfolga","followers_url":"https://api.github.com/users/andrewfolga/followers","following_url":"https://api.github.com/users/andrewfolga/following{/other_user}","gists_url":"https://api.github.com/users/andrewfolga/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewfolga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewfolga/subscriptions","organizations_url":"https://api.github.com/users/andrewfolga/orgs","repos_url":"https://api.github.com/users/andrewfolga/repos","events_url":"https://api.github.com/users/andrewfolga/events{/privacy}","received_events_url":"https://api.github.com/users/andrewfolga/received_events","type":"User","site_admin":false},"body":"do we call this one now?","created_at":"2018-09-17T12:14:35Z","updated_at":"2018-09-17T12:14:59Z","html_url":"https://github.com/hmcts/ccd-case-management-web/pull/278#discussion_r218045074","pull_request_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/pulls/278","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/hmcts/ccd-case-management-web/pulls/comments/218045074"},"html":{"href":"https://github.com/hmcts/ccd-case-management-web/pull/278#discussion_r218045074"},"pull_request":{"href":"https://api.github.com/repos/hmcts/ccd-case-management-web/pulls/278"}}},"pull_request":{"url":"https://api.github.com/repos/hmcts/ccd-case-management-web/pulls/278","id":215945572,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1OTQ1NTcy","html_url":"https://github.com/hmcts/ccd-case-management-web/pull/278","diff_url":"https://github.com/hmcts/ccd-case-management-web/pull/278.diff","patch_url":"https://github.com/hmcts/ccd-case-management-web/pull/278.patch","issue_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/issues/278","number":278,"state":"open","locked":false,"title":"[PREVIEW] Search filter selects the first case-type & removed unused imports","user":{"login":"tzarsmango","id":296772,"node_id":"MDQ6VXNlcjI5Njc3Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/296772?v=4","gravatar_id":"","url":"https://api.github.com/users/tzarsmango","html_url":"https://github.com/tzarsmango","followers_url":"https://api.github.com/users/tzarsmango/followers","following_url":"https://api.github.com/users/tzarsmango/following{/other_user}","gists_url":"https://api.github.com/users/tzarsmango/gists{/gist_id}","starred_url":"https://api.github.com/users/tzarsmango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzarsmango/subscriptions","organizations_url":"https://api.github.com/users/tzarsmango/orgs","repos_url":"https://api.github.com/users/tzarsmango/repos","events_url":"https://api.github.com/users/tzarsmango/events{/privacy}","received_events_url":"https://api.github.com/users/tzarsmango/received_events","type":"User","site_admin":false},"body":"Altered search filters behaviour. Now 1st case-type in the list is selected by default\r\n\r\n\r\n**Does this PR introduce a breaking change?** (check one with \"x\")\r\n\r\n```\r\n[ ] Yes\r\n[X] No\r\n```","created_at":"2018-09-17T11:11:00Z","updated_at":"2018-09-17T12:14:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ebe4a4908aad5e9ffcaf1dd46542d92a0b51b7e6","assignee":null,"assignees":[],"requested_reviewers":[{"login":"hemantt","id":13850721,"node_id":"MDQ6VXNlcjEzODUwNzIx","avatar_url":"https://avatars0.githubusercontent.com/u/13850721?v=4","gravatar_id":"","url":"https://api.github.com/users/hemantt","html_url":"https://github.com/hemantt","followers_url":"https://api.github.com/users/hemantt/followers","following_url":"https://api.github.com/users/hemantt/following{/other_user}","gists_url":"https://api.github.com/users/hemantt/gists{/gist_id}","starred_url":"https://api.github.com/users/hemantt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemantt/subscriptions","organizations_url":"https://api.github.com/users/hemantt/orgs","repos_url":"https://api.github.com/users/hemantt/repos","events_url":"https://api.github.com/users/hemantt/events{/privacy}","received_events_url":"https://api.github.com/users/hemantt/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/pulls/278/commits","review_comments_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/pulls/278/comments","review_comment_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/issues/278/comments","statuses_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/statuses/3dc73b5f0358053a34583fdd519959e959e0c63b","head":{"label":"hmcts:search_filter_fix","ref":"search_filter_fix","sha":"3dc73b5f0358053a34583fdd519959e959e0c63b","user":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"repo":{"id":125355488,"node_id":"MDEwOlJlcG9zaXRvcnkxMjUzNTU0ODg=","name":"ccd-case-management-web","full_name":"hmcts/ccd-case-management-web","private":false,"owner":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hmcts/ccd-case-management-web","description":null,"fork":false,"url":"https://api.github.com/repos/hmcts/ccd-case-management-web","forks_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/forks","keys_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/teams","hooks_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/hooks","issue_events_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/issues/events{/number}","events_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/events","assignees_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/assignees{/user}","branches_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/branches{/branch}","tags_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/tags","blobs_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/statuses/{sha}","languages_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/languages","stargazers_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/stargazers","contributors_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/contributors","subscribers_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/subscribers","subscription_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/subscription","commits_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/contents/{+path}","compare_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/merges","archive_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/downloads","issues_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/issues{/number}","pulls_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/pulls{/number}","milestones_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/milestones{/number}","notifications_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/labels{/name}","releases_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/releases{/id}","deployments_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/deployments","created_at":"2018-03-15T11:11:23Z","updated_at":"2018-09-14T14:08:29Z","pushed_at":"2018-09-17T11:11:01Z","git_url":"git://github.com/hmcts/ccd-case-management-web.git","ssh_url":"git@github.com:hmcts/ccd-case-management-web.git","clone_url":"https://github.com/hmcts/ccd-case-management-web.git","svn_url":"https://github.com/hmcts/ccd-case-management-web","homepage":null,"size":3897,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":35,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":35,"watchers":1,"default_branch":"master"}},"base":{"label":"hmcts:master","ref":"master","sha":"cec22fb40ca756419182c9e7d4d941f9c10d87d7","user":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"repo":{"id":125355488,"node_id":"MDEwOlJlcG9zaXRvcnkxMjUzNTU0ODg=","name":"ccd-case-management-web","full_name":"hmcts/ccd-case-management-web","private":false,"owner":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hmcts/ccd-case-management-web","description":null,"fork":false,"url":"https://api.github.com/repos/hmcts/ccd-case-management-web","forks_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/forks","keys_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/teams","hooks_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/hooks","issue_events_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/issues/events{/number}","events_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/events","assignees_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/assignees{/user}","branches_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/branches{/branch}","tags_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/tags","blobs_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/statuses/{sha}","languages_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/languages","stargazers_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/stargazers","contributors_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/contributors","subscribers_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/subscribers","subscription_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/subscription","commits_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/contents/{+path}","compare_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/merges","archive_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/downloads","issues_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/issues{/number}","pulls_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/pulls{/number}","milestones_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/milestones{/number}","notifications_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/labels{/name}","releases_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/releases{/id}","deployments_url":"https://api.github.com/repos/hmcts/ccd-case-management-web/deployments","created_at":"2018-03-15T11:11:23Z","updated_at":"2018-09-14T14:08:29Z","pushed_at":"2018-09-17T11:11:01Z","git_url":"git://github.com/hmcts/ccd-case-management-web.git","ssh_url":"git@github.com:hmcts/ccd-case-management-web.git","clone_url":"https://github.com/hmcts/ccd-case-management-web.git","svn_url":"https://github.com/hmcts/ccd-case-management-web","homepage":null,"size":3897,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":35,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":35,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmcts/ccd-case-management-web/pulls/278"},"html":{"href":"https://github.com/hmcts/ccd-case-management-web/pull/278"},"issue":{"href":"https://api.github.com/repos/hmcts/ccd-case-management-web/issues/278"},"comments":{"href":"https://api.github.com/repos/hmcts/ccd-case-management-web/issues/278/comments"},"review_comments":{"href":"https://api.github.com/repos/hmcts/ccd-case-management-web/pulls/278/comments"},"review_comment":{"href":"https://api.github.com/repos/hmcts/ccd-case-management-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmcts/ccd-case-management-web/pulls/278/commits"},"statuses":{"href":"https://api.github.com/repos/hmcts/ccd-case-management-web/statuses/3dc73b5f0358053a34583fdd519959e959e0c63b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"andrewfolga"}}