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
Support ranges with two dates for invalidateArchivedReports API call #20413
Conversation
@bx80 Was there any reason for putting this into Matomo 4? Maybe we should move this to Matomo 5 instead. Btw. would be good to add new test cases. |
419c8e3
to
05a9213
Compare
This issue is in "needs review" but there has been no activity for 7 days. ping @matomo-org/core-reviewers |
@bx80 I had another very close look to the API and actually I think the changes were not really needed. At least not that way. |
b0ba65d
to
34c84b7
Compare
Nice spot 👍 |
Description:
Fixes #20400
invalidateArchivedReports
API calls with specific date ranges were failing with an invalid date error due to the was the date string was being processed:/index.php?module=API&method=CoreAdminHome.invalidateArchivedReports&idSites=1&period=range&dates=2023-01-01,2023-03-03&token_auth=xxx
This PR adds explicit handling for specific date ranges.