{"action":"created","issue":{"url":"https://api.github.com/repos/dlobo/org.civicrm.module.cividiscount/issues/156","repository_url":"https://api.github.com/repos/dlobo/org.civicrm.module.cividiscount","labels_url":"https://api.github.com/repos/dlobo/org.civicrm.module.cividiscount/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/dlobo/org.civicrm.module.cividiscount/issues/156/comments","events_url":"https://api.github.com/repos/dlobo/org.civicrm.module.cividiscount/issues/156/events","html_url":"https://github.com/dlobo/org.civicrm.module.cividiscount/pull/156","id":162361272,"number":156,"title":"Fix membership discounting to not do expensive unnecessary queries","user":{"login":"eileenmcnaughton","id":336308,"avatar_url":"https://avatars.githubusercontent.com/u/336308?v=3","gravatar_id":"","url":"https://api.github.com/users/eileenmcnaughton","html_url":"https://github.com/eileenmcnaughton","followers_url":"https://api.github.com/users/eileenmcnaughton/followers","following_url":"https://api.github.com/users/eileenmcnaughton/following{/other_user}","gists_url":"https://api.github.com/users/eileenmcnaughton/gists{/gist_id}","starred_url":"https://api.github.com/users/eileenmcnaughton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eileenmcnaughton/subscriptions","organizations_url":"https://api.github.com/users/eileenmcnaughton/orgs","repos_url":"https://api.github.com/users/eileenmcnaughton/repos","events_url":"https://api.github.com/users/eileenmcnaughton/events{/privacy}","received_events_url":"https://api.github.com/users/eileenmcnaughton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-27T01:56:55Z","updated_at":"2016-06-27T03:35:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dlobo/org.civicrm.module.cividiscount/pulls/156","html_url":"https://github.com/dlobo/org.civicrm.module.cividiscount/pull/156","diff_url":"https://github.com/dlobo/org.civicrm.module.cividiscount/pull/156.diff","patch_url":"https://github.com/dlobo/org.civicrm.module.cividiscount/pull/156.patch"},"body":"This is reported in #124 and comes from a mixing of membership &\r\nmembership_type as the entity, which was done as part of an emergency fix\r\nsome time back"},"comment":{"url":"https://api.github.com/repos/dlobo/org.civicrm.module.cividiscount/issues/comments/228647574","html_url":"https://github.com/dlobo/org.civicrm.module.cividiscount/pull/156#issuecomment-228647574","issue_url":"https://api.github.com/repos/dlobo/org.civicrm.module.cividiscount/issues/156","id":228647574,"user":{"login":"eileenmcnaughton","id":336308,"avatar_url":"https://avatars.githubusercontent.com/u/336308?v=3","gravatar_id":"","url":"https://api.github.com/users/eileenmcnaughton","html_url":"https://github.com/eileenmcnaughton","followers_url":"https://api.github.com/users/eileenmcnaughton/followers","following_url":"https://api.github.com/users/eileenmcnaughton/following{/other_user}","gists_url":"https://api.github.com/users/eileenmcnaughton/gists{/gist_id}","starred_url":"https://api.github.com/users/eileenmcnaughton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eileenmcnaughton/subscriptions","organizations_url":"https://api.github.com/users/eileenmcnaughton/orgs","repos_url":"https://api.github.com/users/eileenmcnaughton/repos","events_url":"https://api.github.com/users/eileenmcnaughton/events{/privacy}","received_events_url":"https://api.github.com/users/eileenmcnaughton/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T03:35:23Z","updated_at":"2016-06-27T03:35:23Z","body":"@monishdeb can you look at this & hopefully merge. There was a fix a looong time ago for membership codes being lost but the fix caused performance issues. This disambiguates membership from membership_type so we don't do api calls against memberships when we mean membership type\r\n\r\n"}}
{"actor":{"display_login":"eileenmcnaughton"}}