{"push_id":941719740,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"38040d1c221788b22099124a8497c806d6cf0aa2","before":"9893bfc88816d1a576a4f712b1a651131228e016","commits":[{"sha":"38040d1c221788b22099124a8497c806d6cf0aa2","author":{"email":"78734518be819feb35db6d6c93f6b4406c21a8c2@wikimedia.org","name":"eileen"},"message":"(patch already in 4.7) CRM-17640 Update contribution api to do a sensible query when getcount is being invoked\n\nWithout this patch contribution.getcount api does a full query with the full set of select fields and\nthe nasty joins those entail and only after doing that does it filter for count.\n\nThis patch re-uses the code in use for contact api query for contribution getcount\n\nThe slow query is experienced when editing to refund.\n\nBug: T116317\nChange-Id: I5e3767b8828ac8c72d2279a66812c947dfe66e17","distinct":true,"url":"https://api.github.com/repos/wikimedia/wikimedia-fundraising-crm-civicrm/commits/38040d1c221788b22099124a8497c806d6cf0aa2"}]}