-
-
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
fix dev/core#1: allow to search contributions that are in progress #11640
Conversation
Can one of the admins verify this patch? |
worst PR template / pr description ever :-) Can we get jenkins to love you? |
add to whitelist |
@eileenmcnaughton @Jenkins, sorry, I thought it would get more explanation from lab.civicrm.org (and proudly playing with issue 1 with @mlutfy at the sprint. Let me fix the PR description |
I'm OK with merging this on the basis that those statuses should be removed from the Contribution option group (which is now separate from the pledge one) if not in use & that they are hard-coded & should not be. |
+1 👍 |
@eileenmcnaughton you mean removed by default or leave the option to each install to disable/hide them? ie. some extensions blindly assume that these statuses are there and would break in not so nice ways if they aren't there |
Merged since @monishdeb agreed with me :-) @tttp I think new installs have 2 separate option value groups (pledge status & contribution status) and may not have those options in the contribution. I suggest if you are running one of those extensions you might want to add a function/ check to ensure that civicrm_api3('Contribution', 'getoptions', ['field' => 'contribution_status_id]); Has what you need in it. |
Overview
https://lab.civicrm.org/dev/core/issues/1
The search is hiding the status "in progress". However, some payment processor do use this status (eg the sepa one), so it is in effect hiding contributions, and therefore makes the users very sad and confused
Fix:
allow to search on status "in progress". Worse case scenario, no contributions have this status, and it will return an empty list