{"action":"closed","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/1111","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/1111/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/1111/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/1111/events","html_url":"https://github.com/Automattic/wp-calypso/issues/1111","id":119740208,"number":1111,"title":"Purchases: Users and sites purchases not loaded correctly","user":{"login":"scruffian","id":275961,"avatar_url":"https://avatars.githubusercontent.com/u/275961?v=3","gravatar_id":"","url":"https://api.github.com/users/scruffian","html_url":"https://github.com/scruffian","followers_url":"https://api.github.com/users/scruffian/followers","following_url":"https://api.github.com/users/scruffian/following{/other_user}","gists_url":"https://api.github.com/users/scruffian/gists{/gist_id}","starred_url":"https://api.github.com/users/scruffian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scruffian/subscriptions","organizations_url":"https://api.github.com/users/scruffian/orgs","repos_url":"https://api.github.com/users/scruffian/repos","events_url":"https://api.github.com/users/scruffian/events{/privacy}","received_events_url":"https://api.github.com/users/scruffian/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Purchases","name":"Purchases","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Type]%20Bug","name":"[Type] Bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"drewblaisdell","id":1130674,"avatar_url":"https://avatars.githubusercontent.com/u/1130674?v=3","gravatar_id":"","url":"https://api.github.com/users/drewblaisdell","html_url":"https://github.com/drewblaisdell","followers_url":"https://api.github.com/users/drewblaisdell/followers","following_url":"https://api.github.com/users/drewblaisdell/following{/other_user}","gists_url":"https://api.github.com/users/drewblaisdell/gists{/gist_id}","starred_url":"https://api.github.com/users/drewblaisdell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewblaisdell/subscriptions","organizations_url":"https://api.github.com/users/drewblaisdell/orgs","repos_url":"https://api.github.com/users/drewblaisdell/repos","events_url":"https://api.github.com/users/drewblaisdell/events{/privacy}","received_events_url":"https://api.github.com/users/drewblaisdell/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/38","html_url":"https://github.com/Automattic/wp-calypso/milestones/Amber:%20Backlog","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/38/labels","id":1432751,"number":38,"title":"Amber: Backlog","description":null,"creator":{"login":"scruffian","id":275961,"avatar_url":"https://avatars.githubusercontent.com/u/275961?v=3","gravatar_id":"","url":"https://api.github.com/users/scruffian","html_url":"https://github.com/scruffian","followers_url":"https://api.github.com/users/scruffian/followers","following_url":"https://api.github.com/users/scruffian/following{/other_user}","gists_url":"https://api.github.com/users/scruffian/gists{/gist_id}","starred_url":"https://api.github.com/users/scruffian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scruffian/subscriptions","organizations_url":"https://api.github.com/users/scruffian/orgs","repos_url":"https://api.github.com/users/scruffian/repos","events_url":"https://api.github.com/users/scruffian/events{/privacy}","received_events_url":"https://api.github.com/users/scruffian/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":27,"state":"open","created_at":"2015-11-27T17:33:06Z","updated_at":"2016-04-13T09:46:29Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-12-01T15:26:18Z","updated_at":"2016-04-13T09:46:29Z","closed_at":"2016-04-13T09:46:29Z","body":"When loading a site's purchases before a user's purchases, the collections aren't properly merged meaning that both appear in the list:\r\n\r\n<img width=\"758\" alt=\"screenshot 2015-12-01 15 25 40\" src=\"https://cloud.githubusercontent.com/assets/275961/11504967/cd234056-983f-11e5-8d49-76d85c359170.png\">\r\n\r\nWe need to ensure that they are properly merged together to prevent this happening."}}