@mattab opened this issue on April 5th 2008

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 )

*dataTable->setFiltersRecursive()

both are not incompatible. The first is better in my opinion.

@mattab commented on January 17th 2011

(In [3764]) 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

This issue was closed on January 17th 2011
Powered by GitHub Issue Mirror