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

When there is no data for a website, as soon as a visit was detected reload the report for Today #11275

Merged
merged 4 commits into from Feb 19, 2017

Conversation

mattab
Copy link
Member

@mattab mattab commented Jan 25, 2017

No description provided.

@mattab mattab added this to the 3.0.2 milestone Jan 25, 2017
@mattab mattab added c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. labels Jan 25, 2017
@@ -14,7 +14,8 @@
interval: 1000,
onUpdate: function () {
// reload page as soon as a visit was detected
document.location.reload();
var urlToday = broadcast.updateParamValue('date=today', window.location.href);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it make sense to use propagateNewPage() here? It will make sure the reload will be performed even if angular etc would maybe block it

@mattab mattab merged commit 7946bd2 into 3.x-dev Feb 19, 2017
@mattab mattab deleted the reload_toda branch February 19, 2017 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants