{"action":"created","issue":{"url":"https://api.github.com/repos/ScottLogic/StockFlux/issues/668","repository_url":"https://api.github.com/repos/ScottLogic/StockFlux","labels_url":"https://api.github.com/repos/ScottLogic/StockFlux/issues/668/labels{/name}","comments_url":"https://api.github.com/repos/ScottLogic/StockFlux/issues/668/comments","events_url":"https://api.github.com/repos/ScottLogic/StockFlux/issues/668/events","html_url":"https://github.com/ScottLogic/StockFlux/pull/668","id":141517927,"number":668,"title":"Search updates","user":{"login":"WPFerg","id":7962948,"avatar_url":"https://avatars.githubusercontent.com/u/7962948?v=3","gravatar_id":"","url":"https://api.github.com/users/WPFerg","html_url":"https://github.com/WPFerg","followers_url":"https://api.github.com/users/WPFerg/followers","following_url":"https://api.github.com/users/WPFerg/following{/other_user}","gists_url":"https://api.github.com/users/WPFerg/gists{/gist_id}","starred_url":"https://api.github.com/users/WPFerg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WPFerg/subscriptions","organizations_url":"https://api.github.com/users/WPFerg/orgs","repos_url":"https://api.github.com/users/WPFerg/repos","events_url":"https://api.github.com/users/WPFerg/events{/privacy}","received_events_url":"https://api.github.com/users/WPFerg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-17T08:51:57Z","updated_at":"2016-03-17T14:02:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ScottLogic/StockFlux/pulls/668","html_url":"https://github.com/ScottLogic/StockFlux/pull/668","diff_url":"https://github.com/ScottLogic/StockFlux/pull/668.diff","patch_url":"https://github.com/ScottLogic/StockFlux/pull/668.patch"},"body":"A fairly hefty refactor of the search component:\r\n\r\nMajor changes:\r\n* The search part of the Quandl service now callbacks with the array of all stocks, as opposed to calling back for each stock\r\n* Refactored the store service checking to a function `hasStore`, which returns `true` if the store exists. If it doesn't, it checks to see if the store service is available to be bound, and binds it. Otherwise, it returns `false`. Removes a bit of code duplication.\r\n* The favourite updates are now comprehensively applied using more up-to-date data from the store service\r\n* Closes #639 \r\n* Closes #641 \r\n* Closes #663 "},"comment":{"url":"https://api.github.com/repos/ScottLogic/StockFlux/issues/comments/197891713","html_url":"https://github.com/ScottLogic/StockFlux/pull/668#issuecomment-197891713","issue_url":"https://api.github.com/repos/ScottLogic/StockFlux/issues/668","id":197891713,"user":{"login":"owennw","id":14889759,"avatar_url":"https://avatars.githubusercontent.com/u/14889759?v=3","gravatar_id":"","url":"https://api.github.com/users/owennw","html_url":"https://github.com/owennw","followers_url":"https://api.github.com/users/owennw/followers","following_url":"https://api.github.com/users/owennw/following{/other_user}","gists_url":"https://api.github.com/users/owennw/gists{/gist_id}","starred_url":"https://api.github.com/users/owennw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owennw/subscriptions","organizations_url":"https://api.github.com/users/owennw/orgs","repos_url":"https://api.github.com/users/owennw/repos","events_url":"https://api.github.com/users/owennw/events{/privacy}","received_events_url":"https://api.github.com/users/owennw/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T14:02:44Z","updated_at":"2016-03-17T14:02:44Z","body":"Looks good! Small typo but that's it."}}