diff options
author | mattab <matthieu.aubry@gmail.com> | 2016-11-15 16:40:25 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2016-11-15 16:40:25 +0300 |
commit | 06a34120630f8e14e54e0be0f3e81af1f2062f87 (patch) | |
tree | 254ccccc60cbc75e8f51ecf433468794aed1a0e6 /core/API | |
parent | 66d3c750d33745a134218b5214817855dce9d2d4 (diff) |
Tests
Diffstat (limited to 'core/API')
-rw-r--r-- | core/API/DataTableManipulator/Flattener.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/core/API/DataTableManipulator/Flattener.php b/core/API/DataTableManipulator/Flattener.php index 2ca9fa547e..7aaef6bf27 100644 --- a/core/API/DataTableManipulator/Flattener.php +++ b/core/API/DataTableManipulator/Flattener.php @@ -63,15 +63,11 @@ class Flattener extends DataTableManipulator { $newDataTable = $dataTable->getEmptyClone($keepFilters = true); - $queuedFiltersEnabled = Common::getRequestVar('disable_queued_filters', 0, 'int', $this->request) == 0; - if ($queuedFiltersEnabled) { - $dataTable->applyQueuedFilters(); - } - foreach ($dataTable->getRows() as $rowId => $row) { $this->flattenRow($row, $rowId, $newDataTable); } + $queuedFiltersEnabled = Common::getRequestVar('disable_queued_filters', 0, 'int', $this->request) == 0; if ($queuedFiltersEnabled) { $newDataTable->applyQueuedFilters(); } |