Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRM-21677 reduce unnecessary joins in pledge reports #11875

Merged
merged 1 commit into from
Mar 26, 2018

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Mar 26, 2018

Overview

Partial of #11814 which is a reviewers cut of #11550
Reduce unnecessary joins in pledge reports and walklist report:

Pledge/Detail
pledge/pbnp
pledge/summary
walklist/walklist

Before

unnecessary joins to phone, email and address tables in membership reports

After

join only when needed, code standardised

Technical Details

This also aligns the approach with that used in the extended report extension - there might be some notices as I have updated the extension where the signature differs from core but will need to drop a new release & people will need to be on it.

Comments

@yashodha @jitendrapurohit ping - one of you up to test? If you wish to test any of the 24 other reports in the parent PR let me know what you have tested & I will pull into this


And walklist report:

Pledge/Detail
pledge/pbnp
pledge/summary
walklist/walklist
@yashodha
Copy link
Contributor

@eileenmcnaughton tested all, works fine

@yashodha yashodha merged commit 7e392e0 into civicrm:master Mar 26, 2018
@eileenmcnaughton eileenmcnaughton deleted the min_report branch March 26, 2018 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants