$days_this_month holds the current month’s total number of days, not the total number for the month being searched.
Thus, if the current month is February, it fails to return any attendees for an event on the 30th of January because that event is outside the date range (01-28).
A possible fix follows, but it assumes a MySQL database (EXTRACT isn’t standard SQL).
Thanks for the report, I’ll raise a ticket to have it fixed.
Viewing 1 reply thread
The support post ‘BUG: Incorrect end date when filtering attendees by month’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.