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

Request different columns when no columns will be available #15038

Merged
merged 1 commit into from Oct 22, 2019
Merged

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Oct 22, 2019

refs #15033
it might fix that issue

fixes a regression from #14996

When you have the Visits over time for example in the dashboard, view day period, select unique visitors, then select year period, it will then show visits metric instead of unique visitors because unique visitors is not available for year. The visits metric will not show any data though because it had the &columns=nb_unique_visitors param applied and the visits metric was never fetched. That's because in #14996 the metric was replaced after the dataTable was being requested. Trying to do this now before requesting dataTable too. Not sure what other regressions this could potentially introduce...

refs #15033 
it might fix that issue

fixes a regression from #14996

When you have the Visits over time for example in the dashboard, view day period, select unique visitors, then select year period, it will then show visits metric instead of unique visitors because unique visitors is not available for year. The visits metric will not show any data though because it had the `&columns=nb_unique_visitors` param applied and the visits metric was never fetched. That's because in #14996 the metric was replaced after the dataTable was being requested. Trying to do this now before requesting dataTable too. Not sure what other regressions this could potentially introduce...
@tsteur tsteur added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Oct 22, 2019
@tsteur tsteur added this to the 3.12.0 milestone Oct 22, 2019
@tsteur
Copy link
Member Author

tsteur commented Oct 22, 2019

Tests are succeeding and user confirms it's working so merging the PR. @sgiehl if you could later maybe have a quick look at the PR be great

@tsteur tsteur merged commit 92a3798 into 3.x-dev Oct 22, 2019
@tsteur tsteur deleted the 15033 branch October 22, 2019 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant