Ticket #173 (new Bug)

Opened 6 months ago

Last modified 6 months ago

Queued Filters should be possible to apply recursively

Reported by: matt Assigned to:
Priority: major Milestone: Future features
Component: Core Version:
Keywords: Cc:

Description (Last modified by matt)

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.

Change History

04/05/08 20:49:08 changed by matt

  • description changed.
  • milestone set to Future features.