-
-
Notifications
You must be signed in to change notification settings - Fork 817
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-19061 Updated Reports from sprint #8539
Conversation
Can one of the admins verify this patch? |
The meatiest change here is to the INNER JOIN, for when filtering on line item financial types. The only query in this context is to compare them with older line items rather than older contributions.
Discovered problems with previous commit; report crashed when line_amount (but not line item financial type) is filtered, and it didn't include line item stats when filtered on line items.
Congrats on getting this to the PR stage!! |
test this please |
jenkins, add to whitelist |
@robbrandt Looks like there are some style inconsistencies with the code formatting. Click the "details" tab at https://test.civicrm.org/job/CiviCRM-Core-PR/9955/checkstyleResult/new/ |
Heh Rob, as Release Manager this month, I'm trying to recruit people to help pare down the backlog of almost 100 PRs, some going back to last summer. I'm wondering if you would be able to help QA another PR if I got someone to QA this PR? |
@JoeMurray give me a couple of weeks, I am severely overloaded at the moment because of the week "off" I had at the sprint. |
@colemanw It appears I didn't do a reformat for Details.php after I set the editor to follow Drupal guidelines. Done now. |
pushing new commits to the PR (or amending existing commits & force pushing them with git push -f) will cause the tests & code checks to run again |
@robbrandt Thanks for your contributions on your 'vacation'!! Hopefully next month. Cheers! |
@robbrandt could you create JIRA issue explaining what you were intending to do with this PR? Thanks. |
jenkins test this please |
Jenkins has difficulty applying the patches in this PR - I'll try manually on my local. |
@robbrandt - I can't get this to apply cleanly either - have you recovered from the Sprint enough to find some time to rebase your work on current dmaster? Ping me and I'll QA it soon after -- KarinG
|
Hi. I would very much like to know what needs to be done. Not a git expert Specifics would be helpful. Rob On Jul 14, 2016 7:30 PM, "Karin Gerritsen" notifications@github.com wrote:
|
Hi Rob, essentially the report php files you had modified have been modified by someone else before your code got merged with master - and your code no longer can be merged. |
Thanks. But it's not clear to me if I need to do anything now. And if so, what. —You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread. |
Hi @robbrandt I took a look at this. There are changes to 3 files in here
What I suggest you do is create a new branch based on master (git checkout -b new_sybunt origin/master) and copy & past the raw sybunt from this PR into that branch and commit it as a single commit. Review them & check they look correct & still test well & if so do a new PR on that branch against master & close this one. I would probably put the bookkeeping ones in a separate PR to keep the focus of the main PR on the Sybunt (and drop the changes that appear to be accidental) |
SYBUNT updated to handle line items. I tried to take care to keep previous default behavior as expected, so when someone who doesn't care about line items continues to use this report they will get the same results as always. So while there is an option to not display Contribution yearly totals, it will if neither Contribution or Line Item yearly totals are selected. There are issues with getting results using the MySQL ROLLUP modifier when filtering on both line item financial types and contribution financial types; it results in subtotals in rollup results with no reliable way to filter them out. So I opted to include hints not to do that in the Columns tab. Overall it works well.
Bookkeeping report update only needed the Financial Types options to explicitly say "line Item" Financial Types. Everywhere else in CiviCRM, if not specified it means Contribution Financial Types.