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

Compare Tool: support for single day reports #15281

Closed
dev-101 opened this issue Dec 18, 2019 · 4 comments
Closed

Compare Tool: support for single day reports #15281

dev-101 opened this issue Dec 18, 2019 · 4 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@dev-101
Copy link

dev-101 commented Dec 18, 2019

If we use single day for range report (e.g. page views), Compare tool will return the error because it expects to have range for comparison. Please add support to compare to another single date in this case (e.g. day before, day from last week, month, same day last year etc.)

index.php?module=CoreHome&action=index&idSite=1&period=day&date=today

API returned an error: The date ',' is not a correct date range. It should have the following format: 'lastN', 'previousN', 'YYYY-MM-DD,YYYY-MM-DD'. at Range.php:268

@tsteur
Copy link
Member

tsteur commented Dec 18, 2019

@dev-101 do you know which report is showing you that error? Or whether it is shown on the dashboard? Is it for a specific widget in the dashboard? AFAIK this should be supported.

@dev-101
Copy link
Author

dev-101 commented Dec 18, 2019

Example URL:

/index.php?module=CoreHome&action=index&idSite=1&period=day&date=today#?idSite=1&period=day&date=today&category=General_Actions&subcategory=General_Pages

Error is shown on the page (red rectangle).

You can also select any custom single date from the Day period option in the calendar.

I just noticed that there is an option to compare it to "Previous period", in which case previous day is automatically selected, but what if we need same day from the week before or month or custom date?

@mattab mattab added this to the 4.2.0 milestone Jan 21, 2020
@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Jan 21, 2020
@Findus23 Findus23 changed the title Comapre Tool: support for single day reports Compare Tool: support for single day reports Apr 20, 2020
@tsteur
Copy link
Member

tsteur commented Jul 22, 2021

Will close this issue @dev-101 as it looks fixed in Matomo 4.3. If it's still an issue please comment with the steps to reproduce and we'll reopen.

@tsteur tsteur closed this as completed Jul 22, 2021
@tsteur tsteur added the worksforme The issue cannot be reproduced and things work as intended. label Jul 22, 2021
@mattab mattab modified the milestones: 4.6.0, 4.5.0 Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants