Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: prevent error when exporting CSV between two dates #3864
As an admin, I would like to export Donor CSV seamlessly without any issue.
Now I see the error "No data found for export parameters." when I select two dates to export the CSV but when you do not set any dates or want to export all the CSV data, it works as intended.
Does not export Donors CSV between two dates
It should export the CSV if data is available between the dates.
Steps to Reproduce
This issue was discovered while trying to replicate the same for Gift aid donations CSV.
I had difficulty replicating this issue in my regular setup but I could replicate the issue in a new setup with the following steps
### WordPress Environment ###
Home URL: http://wp-give-gift-aid.local
Hosting Provider: DBH: localhost, SRV: wp-give-gift-aid.local
Give Version: 2.3.0
Active Give Add-ons
Give - Gift Aid:
Other Active Plugins
Name: Twenty Seventeen
@nishitlangaliya Please ensure that your PR for this issue fixes any export where start and end dates are selected. For example, Maruti has indicated that this is an issue with the Give core