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

[REF] Cleanup up handling of dates for Recurring & Contribution date fields in query class #14825

Merged
merged 2 commits into from
Jul 15, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Jul 15, 2019

Overview

Cleanup contribution & recurring contribution date field handling in query object

This gets us to the point where all contribution date fields are handled the same way, which is now tested. Now that recurring contribution fields have unique keys we can handle them as metadata

Before

Less consistent code

After

More consistent code

Technical Details

@seamuslee001 if you merge this you can remove all the query object stuff from #14737 because the recurring date fields will have generic handling

Comments

…query object

This gets us to the point where all date fields are handled the same way, which is now tested. Now that recurring
contribution fields have unique keys we can handle them as metadata
@civibot
Copy link

civibot bot commented Jul 15, 2019

(Standard links)

@civibot civibot bot added the master label Jul 15, 2019
@eileenmcnaughton eileenmcnaughton changed the title Recur [REF] Cleanup up handling of dates for Recurring & Contribution date fields in query class Jul 15, 2019
@eileenmcnaughton
Copy link
Contributor Author

test this please

@seamuslee001
Copy link
Contributor

Changes make sense to me and expands test coverage merging

@seamuslee001 seamuslee001 merged commit befb874 into civicrm:master Jul 15, 2019
@seamuslee001 seamuslee001 deleted the recur branch July 15, 2019 12:32
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.

2 participants