diff options
Diffstat (limited to 'core/Plugin')
-rw-r--r-- | core/Plugin/Visualization.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Plugin/Visualization.php b/core/Plugin/Visualization.php index 3d48c24d15..6e6b4802a0 100644 --- a/core/Plugin/Visualization.php +++ b/core/Plugin/Visualization.php @@ -399,6 +399,8 @@ class Visualization extends ViewDataTable $postProcessor->setCallbackBeforeGenericFilters(function (DataTable\DataTableInterface $dataTable) use ($self, $postProcessor) { + $self->setDataTable($dataTable); + // First, filters that delete rows foreach ($self->config->getPriorityFilters() as $filter) { $dataTable->filter($filter[0], $filter[1]); @@ -417,6 +419,8 @@ class Visualization extends ViewDataTable $postProcessor->setCallbackAfterGenericFilters(function (DataTable\DataTableInterface $dataTable) use ($self) { + $self->setDataTable($dataTable); + $self->afterGenericFiltersAreAppliedToLoadedDataTable(); // queue other filters so they can be applied later if queued filters are disabled |