#3327 closed New feature (fixed)

Add show_related_reports request parameter to disable them in widgets

Reported by: chmielot Owned by: capedfuzz
Priority: normal Milestone: 1.8.4 - Piwik 1.8.4
Component: Core Keywords:
Cc: Sensitive: no

Description

There are widget types like MobileVsDesktop which add related reports. This patch adds a show_related_reports parameter which is set to true by default to not break current behavior. If widgets are requested related reports can be deactivated by passing show_related_reports=0 request parameter.

It allows to further customize requested widgets.

Attachments (1)

3327-show_related_reports.diff (2.2 KB) - added by chmielot 21 months ago.

Download all attachments as: .zip

Change History (3)

Changed 21 months ago by chmielot

comment:1 Changed 21 months ago by matt (mattab)

  • Milestone set to 1.8.4 - Piwik 1.8.4
  • Owner set to capedfuzz

Thanks for the patch, looks good.

comment:2 Changed 20 months ago by capedfuzz (diosmosis)

  • Resolution set to fixed
  • Status changed from new to closed

(In [6873]) Fixes #3327, applying patch, thanks for your contribution chmielot!

Note: See TracTickets for help on using tickets.