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

dashboard bug when date=previous7, in Visits Over Time widget #12321

Closed
mattab opened this issue Dec 3, 2017 · 0 comments
Closed

dashboard bug when date=previous7, in Visits Over Time widget #12321

mattab opened this issue Dec 3, 2017 · 0 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Dec 3, 2017

in Personal settings, one can configure to open the dashboard with "Previous 7 days" default dates. For such choices, some widgets in the dashboard are not working and an error message is displayed instead of the graph: " Date format must be: YYYY-MM-DD, or 'today' or 'yesterday' or any keyword supported by the strtotime function (see http://php.net/strtotime for more information): 2017-11-26,previous7 "

-> the issue is that widgets receive the date=2017-11-27,previous7 parameter instead of just previous7

dashboard bug when date previous7 in visits over time widget

Reproducible at such URLs: index.php?module=CoreHome&action=index&idSite=1&period=range&date=previous7#?idSite=1&period=range&date=previous7&category=Dashboard_Dashboard&subcategory=1

Many other widgets affected as well

@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Dec 3, 2017
@mattab mattab added this to the 3.2.1 milestone Dec 3, 2017
@mattab mattab added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Regression Indicates a feature used to work in a certain way but it no longer does even though it should. labels Dec 3, 2017
@diosmosis diosmosis self-assigned this Dec 3, 2017
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. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Projects
None yet
Development

No branches or pull requests

2 participants