For example we do:
$dataTable = $this->getDataTable('Actions_outlink', $idSite, $period, $date, $expanded, $idSubtable ); $dataTable->queueFilter('Piwik_DataTable_Filter_ColumnCallbackAddDetail', array('label', 'url', create_function('$url', 'return $url;')));
But we may want to apply the filter recursively if the returned data table has many levels (the case for actions when searching recursively for example).
I can see 2 implementations:
queueRecursiveFilter( Filter )
both are not incompatible. The first is better in my opinion.
(In ) Fixes #5593 - making all filters recursive by default (no performance impact since it won't load the tables if they were not loaded in the API). Updating all filters to reflect new abstract class signature