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

Widgetized dashboard widgets empty if more than one segment is used #3488

Closed
anonymous-matomo-user opened this issue Oct 29, 2012 · 6 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@anonymous-matomo-user
Copy link

If you view the dashboard in a iFrame, all widgets are empty ("There is no data for this report.") if more than one segment is passed in the query.

This means that it is not possible to filter the dashboard with a custom variable, since this requires passing two segments.

Steps to reproduce:

  • Export the dashboard into an iframe.
  • Add a single segment in the query URL, and note that the dasboard filters as expected. Example of a segment to add: &segment=browserName==FF
  • Add an additional segment using the AND operator (";"). Note that all widgets are now empty. Example of segment to add: &segment=browserName==FF;operatingSystem=WI7

Keywords: segment, dashboard, custom variables

@anonymous-matomo-user
Copy link
Author

I don't know if it was working in earlier versions. I updated straight from 1.8.2 (where the custom variable had no effect), so I'm not sure about versions between 1.8.2 and 1.9.1.

@mattab
Copy link
Member

mattab commented Nov 1, 2012

(In [7356]) Fixes #3488 - Thanks for the useful bug report @MWallenberg
apply patch then delete piwik/tmp/assets/*

@anonymous-matomo-user
Copy link
Author

Hi again, Matt,

Thanks for looking into this so quickly. I applied the patch you linked to directly against 1.9.1, and deleted all files in piwik/tmp/assets/ but the issue remains. I used the following segment to test:

&segment=browserName==FF;operatingSystem==WI7

Do I have to install the latest dev version to get other patches that this fix depends on?

@anonymous-matomo-user
Copy link
Author

Indeed, that fixes the problem. Thank you again!

@anonymous-matomo-user anonymous-matomo-user added this to the 1.9.2 - Piwik 1.9.2 milestone Jul 8, 2014
This issue was closed.
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. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

2 participants