@mattab opened this Issue on October 12th 2017 Owner

When embedding the dashboard as an iframe, and selecting a segment in the segment list, the widgets refresh and only some of the widgets correctly apply the segment. It seems maybe that those widgets that load within widgets don't get passed the segment value.

  • Let's fix the issue
  • and add a UI test for this use case

Reproduce URL: https://demo.piwik.org/index.php?module=Widgetize&action=iframe&moduleToWidgetize=Dashboard&actionToWidgetize=index&idSite=3&period=week&date=today&token_auth=anonymous&updated=5&segment=deviceType%3D%3DSmartphone%2CdeviceType%3D%3DTablet

All users: valid metrics

all visits

Mobile users: note the left report is correct, while the Visits overview with graph still show same data as all visits

mobile users

@mattab commented on October 12th 2017 Owner

Similarly the Sparklines don't get the Segment applied

This Issue was closed on October 19th 2017
Powered by GitHub Issue Mirror