{"action":"created","comment":{"url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/pulls/comments/222975905","pull_request_review_id":161995546,"id":222975905,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjk3NTkwNQ==","diff_hunk":"@@ -1,11 +1,15 @@\n-/* globals searchOnInputChange, buildProductQuery */\n+/* globals searchOnInputChange */\n $(document).on('turbolinks:load', function () {\n-  var investigationId = $('.products-search-form').data('investigation-id');\n-  var excludedProductIds = $('.products-search-form').data('product-ids');\n+  let $page = $('.investigation-product-page');","path":"web/app/assets/javascripts/investigations/products.js","position":null,"original_position":6,"commit_id":"261e55d9f830f8ff8347810c07796ecc539db566","original_commit_id":"d50344666f5acd6c731bce4eb63bb6aaeffa4cfd","user":{"login":"tom-bell-softwire","id":7525573,"node_id":"MDQ6VXNlcjc1MjU1NzM=","avatar_url":"https://avatars1.githubusercontent.com/u/7525573?v=4","gravatar_id":"","url":"https://api.github.com/users/tom-bell-softwire","html_url":"https://github.com/tom-bell-softwire","followers_url":"https://api.github.com/users/tom-bell-softwire/followers","following_url":"https://api.github.com/users/tom-bell-softwire/following{/other_user}","gists_url":"https://api.github.com/users/tom-bell-softwire/gists{/gist_id}","starred_url":"https://api.github.com/users/tom-bell-softwire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tom-bell-softwire/subscriptions","organizations_url":"https://api.github.com/users/tom-bell-softwire/orgs","repos_url":"https://api.github.com/users/tom-bell-softwire/repos","events_url":"https://api.github.com/users/tom-bell-softwire/events{/privacy}","received_events_url":"https://api.github.com/users/tom-bell-softwire/received_events","type":"User","site_admin":false},"body":"Is it worth setting the JavaScript language version in RubyMine to ES5.1 to prevent that?","created_at":"2018-10-05T11:37:19Z","updated_at":"2018-10-05T11:37:19Z","html_url":"https://github.com/UKGovernmentBEIS/beis-mspsds/pull/135#discussion_r222975905","pull_request_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/pulls/135","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/pulls/comments/222975905"},"html":{"href":"https://github.com/UKGovernmentBEIS/beis-mspsds/pull/135#discussion_r222975905"},"pull_request":{"href":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/pulls/135"}},"in_reply_to_id":222913281},"pull_request":{"url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/pulls/135","id":220123785,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwMTIzNzg1","html_url":"https://github.com/UKGovernmentBEIS/beis-mspsds/pull/135","diff_url":"https://github.com/UKGovernmentBEIS/beis-mspsds/pull/135.diff","patch_url":"https://github.com/UKGovernmentBEIS/beis-mspsds/pull/135.patch","issue_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/issues/135","number":135,"state":"open","locked":false,"title":"Mspsds 491 Improve product search","user":{"login":"jasiekmiko","id":6727787,"node_id":"MDQ6VXNlcjY3Mjc3ODc=","avatar_url":"https://avatars1.githubusercontent.com/u/6727787?v=4","gravatar_id":"","url":"https://api.github.com/users/jasiekmiko","html_url":"https://github.com/jasiekmiko","followers_url":"https://api.github.com/users/jasiekmiko/followers","following_url":"https://api.github.com/users/jasiekmiko/following{/other_user}","gists_url":"https://api.github.com/users/jasiekmiko/gists{/gist_id}","starred_url":"https://api.github.com/users/jasiekmiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasiekmiko/subscriptions","organizations_url":"https://api.github.com/users/jasiekmiko/orgs","repos_url":"https://api.github.com/users/jasiekmiko/repos","events_url":"https://api.github.com/users/jasiekmiko/events{/privacy}","received_events_url":"https://api.github.com/users/jasiekmiko/received_events","type":"User","site_admin":false},"body":"Changes mimicking MSPSDS-491 and business search:\r\n- progressive enhancement\r\n- commonising forms between pages\r\n- granular search, matching field-to-field","created_at":"2018-10-03T17:47:56Z","updated_at":"2018-10-05T11:37:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ad8b714aa2df53a8c6cd5321cca3d93e62439ba","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/pulls/135/commits","review_comments_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/pulls/135/comments","review_comment_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/issues/135/comments","statuses_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/statuses/261e55d9f830f8ff8347810c07796ecc539db566","head":{"label":"UKGovernmentBEIS:MSPSDS-491-ProgressivelyEnhancedProductSearch","ref":"MSPSDS-491-ProgressivelyEnhancedProductSearch","sha":"261e55d9f830f8ff8347810c07796ecc539db566","user":{"login":"UKGovernmentBEIS","id":19221939,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MjIxOTM5","avatar_url":"https://avatars3.githubusercontent.com/u/19221939?v=4","gravatar_id":"","url":"https://api.github.com/users/UKGovernmentBEIS","html_url":"https://github.com/UKGovernmentBEIS","followers_url":"https://api.github.com/users/UKGovernmentBEIS/followers","following_url":"https://api.github.com/users/UKGovernmentBEIS/following{/other_user}","gists_url":"https://api.github.com/users/UKGovernmentBEIS/gists{/gist_id}","starred_url":"https://api.github.com/users/UKGovernmentBEIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKGovernmentBEIS/subscriptions","organizations_url":"https://api.github.com/users/UKGovernmentBEIS/orgs","repos_url":"https://api.github.com/users/UKGovernmentBEIS/repos","events_url":"https://api.github.com/users/UKGovernmentBEIS/events{/privacy}","received_events_url":"https://api.github.com/users/UKGovernmentBEIS/received_events","type":"Organization","site_admin":false},"repo":{"id":134414102,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQ0MTQxMDI=","name":"beis-mspsds","full_name":"UKGovernmentBEIS/beis-mspsds","private":false,"owner":{"login":"UKGovernmentBEIS","id":19221939,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MjIxOTM5","avatar_url":"https://avatars3.githubusercontent.com/u/19221939?v=4","gravatar_id":"","url":"https://api.github.com/users/UKGovernmentBEIS","html_url":"https://github.com/UKGovernmentBEIS","followers_url":"https://api.github.com/users/UKGovernmentBEIS/followers","following_url":"https://api.github.com/users/UKGovernmentBEIS/following{/other_user}","gists_url":"https://api.github.com/users/UKGovernmentBEIS/gists{/gist_id}","starred_url":"https://api.github.com/users/UKGovernmentBEIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKGovernmentBEIS/subscriptions","organizations_url":"https://api.github.com/users/UKGovernmentBEIS/orgs","repos_url":"https://api.github.com/users/UKGovernmentBEIS/repos","events_url":"https://api.github.com/users/UKGovernmentBEIS/events{/privacy}","received_events_url":"https://api.github.com/users/UKGovernmentBEIS/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/UKGovernmentBEIS/beis-mspsds","description":"Market Surveillance and Product Safety Digital Service","fork":false,"url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds","forks_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/forks","keys_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/teams","hooks_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/hooks","issue_events_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/issues/events{/number}","events_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/events","assignees_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/assignees{/user}","branches_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/branches{/branch}","tags_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/tags","blobs_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/git/refs{/sha}","trees_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/statuses/{sha}","languages_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/languages","stargazers_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/stargazers","contributors_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/contributors","subscribers_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/subscribers","subscription_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/subscription","commits_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/commits{/sha}","git_commits_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/git/commits{/sha}","comments_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/comments{/number}","issue_comment_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/issues/comments{/number}","contents_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/contents/{+path}","compare_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/merges","archive_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/downloads","issues_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/issues{/number}","pulls_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/pulls{/number}","milestones_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/milestones{/number}","notifications_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/labels{/name}","releases_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/releases{/id}","deployments_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/deployments","created_at":"2018-05-22T12:48:15Z","updated_at":"2018-10-03T16:32:06Z","pushed_at":"2018-10-05T11:30:47Z","git_url":"git://github.com/UKGovernmentBEIS/beis-mspsds.git","ssh_url":"git@github.com:UKGovernmentBEIS/beis-mspsds.git","clone_url":"https://github.com/UKGovernmentBEIS/beis-mspsds.git","svn_url":"https://github.com/UKGovernmentBEIS/beis-mspsds","homepage":null,"size":1197,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"UKGovernmentBEIS:master","ref":"master","sha":"d7bc42047ee63bebd31a5fba5ce13a7987a35315","user":{"login":"UKGovernmentBEIS","id":19221939,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MjIxOTM5","avatar_url":"https://avatars3.githubusercontent.com/u/19221939?v=4","gravatar_id":"","url":"https://api.github.com/users/UKGovernmentBEIS","html_url":"https://github.com/UKGovernmentBEIS","followers_url":"https://api.github.com/users/UKGovernmentBEIS/followers","following_url":"https://api.github.com/users/UKGovernmentBEIS/following{/other_user}","gists_url":"https://api.github.com/users/UKGovernmentBEIS/gists{/gist_id}","starred_url":"https://api.github.com/users/UKGovernmentBEIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKGovernmentBEIS/subscriptions","organizations_url":"https://api.github.com/users/UKGovernmentBEIS/orgs","repos_url":"https://api.github.com/users/UKGovernmentBEIS/repos","events_url":"https://api.github.com/users/UKGovernmentBEIS/events{/privacy}","received_events_url":"https://api.github.com/users/UKGovernmentBEIS/received_events","type":"Organization","site_admin":false},"repo":{"id":134414102,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQ0MTQxMDI=","name":"beis-mspsds","full_name":"UKGovernmentBEIS/beis-mspsds","private":false,"owner":{"login":"UKGovernmentBEIS","id":19221939,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MjIxOTM5","avatar_url":"https://avatars3.githubusercontent.com/u/19221939?v=4","gravatar_id":"","url":"https://api.github.com/users/UKGovernmentBEIS","html_url":"https://github.com/UKGovernmentBEIS","followers_url":"https://api.github.com/users/UKGovernmentBEIS/followers","following_url":"https://api.github.com/users/UKGovernmentBEIS/following{/other_user}","gists_url":"https://api.github.com/users/UKGovernmentBEIS/gists{/gist_id}","starred_url":"https://api.github.com/users/UKGovernmentBEIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKGovernmentBEIS/subscriptions","organizations_url":"https://api.github.com/users/UKGovernmentBEIS/orgs","repos_url":"https://api.github.com/users/UKGovernmentBEIS/repos","events_url":"https://api.github.com/users/UKGovernmentBEIS/events{/privacy}","received_events_url":"https://api.github.com/users/UKGovernmentBEIS/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/UKGovernmentBEIS/beis-mspsds","description":"Market Surveillance and Product Safety Digital Service","fork":false,"url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds","forks_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/forks","keys_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/teams","hooks_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/hooks","issue_events_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/issues/events{/number}","events_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/events","assignees_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/assignees{/user}","branches_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/branches{/branch}","tags_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/tags","blobs_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/git/refs{/sha}","trees_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/statuses/{sha}","languages_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/languages","stargazers_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/stargazers","contributors_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/contributors","subscribers_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/subscribers","subscription_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/subscription","commits_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/commits{/sha}","git_commits_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/git/commits{/sha}","comments_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/comments{/number}","issue_comment_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/issues/comments{/number}","contents_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/contents/{+path}","compare_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/merges","archive_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/downloads","issues_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/issues{/number}","pulls_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/pulls{/number}","milestones_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/milestones{/number}","notifications_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/labels{/name}","releases_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/releases{/id}","deployments_url":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/deployments","created_at":"2018-05-22T12:48:15Z","updated_at":"2018-10-03T16:32:06Z","pushed_at":"2018-10-05T11:30:47Z","git_url":"git://github.com/UKGovernmentBEIS/beis-mspsds.git","ssh_url":"git@github.com:UKGovernmentBEIS/beis-mspsds.git","clone_url":"https://github.com/UKGovernmentBEIS/beis-mspsds.git","svn_url":"https://github.com/UKGovernmentBEIS/beis-mspsds","homepage":null,"size":1197,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/pulls/135"},"html":{"href":"https://github.com/UKGovernmentBEIS/beis-mspsds/pull/135"},"issue":{"href":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/issues/135"},"comments":{"href":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/issues/135/comments"},"review_comments":{"href":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/pulls/135/comments"},"review_comment":{"href":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/pulls/135/commits"},"statuses":{"href":"https://api.github.com/repos/UKGovernmentBEIS/beis-mspsds/statuses/261e55d9f830f8ff8347810c07796ecc539db566"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"tom-bell-softwire"}}