I have created a report with subtables, which are loaded by a separate report (not
$this->actionToLoadSubTables = $this->action;). I want to be able to search the datatable recursively (by setting
$view->config->search_recursive = true; in configureview), but when I do this, and search for something in a subtable, the wrong subtable is loaded when I try to expand it.
I have noticed that other reports (such as those generated by the Events plugin and the Keyword report in the Referrer plugin) do not search recursively. Is this not possible? It would be useful if it was. The steps to reproduce, when using my plugin, are:
The thing is I am not sure if this is a bug or if I am doing something wrong. Looking forward to any kind of response :)
I would gladly supply some code, but the plugin depends on specific event actions in the database, so I'm afraid that won't do any good.
Good to hear you are experimenting with the Piwik platform!
but when I do this, and search for something in a subtable, the wrong subtable is loaded when I try to expand it.
Does it happen for all dates? if it happens for "today" only, this may be this known issue: https://github.com/piwik/piwik/issues/1024#issuecomment-48296981