{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/235","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/235/comments","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/235/events","html_url":"https://github.com/alphagov/digitalmarketplace-api/pull/235","id":104656885,"number":235,"title":"Fix complete counts","user":{"login":"quis","id":355079,"avatar_url":"https://avatars.githubusercontent.com/u/355079?v=3","gravatar_id":"","url":"https://api.github.com/users/quis","html_url":"https://github.com/quis","followers_url":"https://api.github.com/users/quis/followers","following_url":"https://api.github.com/users/quis/following{/other_user}","gists_url":"https://api.github.com/users/quis/gists{/gist_id}","starred_url":"https://api.github.com/users/quis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quis/subscriptions","organizations_url":"https://api.github.com/users/quis/orgs","repos_url":"https://api.github.com/users/quis/repos","events_url":"https://api.github.com/users/quis/events{/privacy}","received_events_url":"https://api.github.com/users/quis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-03T09:41:15Z","updated_at":"2015-09-03T09:42:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/pulls/235","html_url":"https://github.com/alphagov/digitalmarketplace-api/pull/235","diff_url":"https://github.com/alphagov/digitalmarketplace-api/pull/235.diff","patch_url":"https://github.com/alphagov/digitalmarketplace-api/pull/235.patch"},"body":"Problem: we were seeing 6 **suppliers** with 'complete' services who hadn't made the declaration, but only 2 **services** which were 'complete' from suppliers who hadn't made the declaration.\r\n\r\nThis was because we weren't properly differentiating between 'complete' and 'started' delcarations when counting suppliers.\r\n\r\nThis commit fixes the counts to be correct."},"comment":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/comments/137392920","html_url":"https://github.com/alphagov/digitalmarketplace-api/pull/235#issuecomment-137392920","issue_url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/235","id":137392920,"user":{"login":"allait","id":246664,"avatar_url":"https://avatars.githubusercontent.com/u/246664?v=3","gravatar_id":"","url":"https://api.github.com/users/allait","html_url":"https://github.com/allait","followers_url":"https://api.github.com/users/allait/followers","following_url":"https://api.github.com/users/allait/following{/other_user}","gists_url":"https://api.github.com/users/allait/gists{/gist_id}","starred_url":"https://api.github.com/users/allait/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allait/subscriptions","organizations_url":"https://api.github.com/users/allait/orgs","repos_url":"https://api.github.com/users/allait/repos","events_url":"https://api.github.com/users/allait/events{/privacy}","received_events_url":"https://api.github.com/users/allait/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T09:42:25Z","updated_at":"2015-09-03T09:42:25Z","body":":+1: "}}