diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2020-02-18 12:44:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-18 12:44:07 +0300 |
commit | f3852c0f84e56783211fb4e62eed1da410828b15 (patch) | |
tree | f21e25811b94bf3fc4cb6ac8cc0a4b9cd8535951 /core/Plugin/Visualization.php | |
parent | 65cccf6dae167930bf26648a7fe9d20dd4d402c2 (diff) |
couple proxysite changes for comparison hopefully w/o side effects (#15570)
* Add comparison change to ViewDataTable as well.
* another comparison fix
* Undo change.
* remove some uses
Diffstat (limited to 'core/Plugin/Visualization.php')
-rw-r--r-- | core/Plugin/Visualization.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/core/Plugin/Visualization.php b/core/Plugin/Visualization.php index 0827f46449..53c0254382 100644 --- a/core/Plugin/Visualization.php +++ b/core/Plugin/Visualization.php @@ -332,9 +332,12 @@ class Visualization extends ViewDataTable PluginManager::getInstance()->checkIsPluginActivated($module); - $proxyRequestParams = array_merge($request, [ - 'disable_root_datatable_post_processor' => 1, - ]); + $proxyRequestParams = $request; + if ($this->isComparing()) { + $proxyRequestParams = array_merge($proxyRequestParams, [ + 'disable_root_datatable_post_processor' => 1, + ]); + } $class = ApiRequest::getClassNameAPI($module); $dataTable = Proxy::getInstance()->call($class, $method, $proxyRequestParams); |