Opened 2 years ago

Closed 2 years ago

#2816 closed Bug (fixed)

API parameter filter_truncate should be applied recursively

Reported by: matt Owned by:
Priority: normal Milestone: 1.7 Piwik 1.7
Component: Core Keywords:
Cc: Sensitive: no


When expanded=1&filter_truncate=3, row truncation (and grouping under "Others") should be applied to the datatable and all children tables.

Typically, we would call Actions.getPageUrls and truncate at 3, to get a full tree view of the pages url structures, while keeping number of rows limited.

This is especially useful for #2137 for Scheduled reports to include recursive views for page urls.

Change History (3)

comment:1 Changed 2 years ago by matt (mattab)

  • Milestone changed from 1.7 Piwik 1.7 to 1.8 Piwik 1.8

comment:2 Changed 2 years ago by matt (mattab)

  • Milestone changed from 1.8 Piwik 1.8 to 1.7 Piwik 1.7

comment:3 Changed 2 years ago by matt (mattab)

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

(In [5791]) Fixes #2816

  • filter_truncate now works recursively if the datatable are loaded in memory (ie. expanded=1)
  • Added integration test
Note: See TracTickets for help on using tickets.