-
-
Notifications
You must be signed in to change notification settings - Fork 825
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
[REF] extract add median to stats #13616
[REF] extract add median to stats #13616
Conversation
(Standard links)
|
CRM/Contact/BAO/Query.php
Outdated
* @param string $from | ||
*/ | ||
protected function addMedianToStats(&$summary, $where, $from) { | ||
$medianSQL = "{$from} {$where} ND civicrm_contribution.contribution_status_id = 1 "; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ND
?
Copy-paste error?
I'm interested to see if the tests catch it. If so then adding merge-on-pass
is a no-brainer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
opps - I re-tweaked that commit when pulling it out from the borg.... yeah tests will fail
@colemanw voila - proof |
Cool |
82187c9
to
2ec9f0f
Compare
ok fixed now.... |
Overview
Code clean up preliminary to resolving performance issues
Before
Code hard to read
After
Code more readable
output ugly but unchanged
Technical Details
Partial of #13607 - adding 'has-tests' which were merged in #13605
Comments