Skip to content
Extraits de code Groupes Projets
Valider 93bafe48 rédigé par Benaka Moorthi's avatar Benaka Moorthi
Parcourir les fichiers

Change other occurances of getRequestString. Forgot to do in last commit.

parent 91208f5b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -200,13 +200,13 @@ class Piwik_ViewDataTable_HtmlTable extends Piwik_ViewDataTable ...@@ -200,13 +200,13 @@ class Piwik_ViewDataTable_HtmlTable extends Piwik_ViewDataTable
$this->viewProperties['search_recursive'] = true; $this->viewProperties['search_recursive'] = true;
} }
protected function getRequestString() protected function getRequestArray()
{ {
$requestString = parent::getRequestString(); $requestArray = parent::getRequestArray();
if (parent::shouldLoadExpanded()) { if (parent::shouldLoadExpanded()) {
$requestString .= '&expanded=1'; $requestArray['expanded'] = 1;
} }
return $requestString; return $requestArray;
} }
/** /**
......
...@@ -26,10 +26,11 @@ class Piwik_ViewDataTable_HtmlTable_AllColumns extends Piwik_ViewDataTable_HtmlT ...@@ -26,10 +26,11 @@ class Piwik_ViewDataTable_HtmlTable_AllColumns extends Piwik_ViewDataTable_HtmlT
parent::main(); parent::main();
} }
protected function getRequestString() protected function getRequestArray()
{ {
$requestString = parent::getRequestString(); $requestArray = parent::getRequestArray();
return $requestString . '&filter_add_columns_when_show_all_columns=1'; $requestArray['filter_add_columns_when_show_all_columns'] = 1;
return $requestArray;
} }
protected function postDataTableLoadedFromAPI() protected function postDataTableLoadedFromAPI()
......
...@@ -214,15 +214,16 @@ class Piwik_ViewDataTable_HtmlTable_Goals extends Piwik_ViewDataTable_HtmlTable ...@@ -214,15 +214,16 @@ class Piwik_ViewDataTable_HtmlTable_Goals extends Piwik_ViewDataTable_HtmlTable
} }
} }
protected function getRequestString() protected function getRequestArray()
{ {
$requestString = parent::getRequestString(); $requestArray = parent::getRequestArray();
if ($this->processOnlyIdGoal > Piwik_DataTable_Filter_AddColumnsProcessedMetricsGoal::GOALS_FULL_TABLE if ($this->processOnlyIdGoal > Piwik_DataTable_Filter_AddColumnsProcessedMetricsGoal::GOALS_FULL_TABLE
|| $this->isEcommerce || $this->isEcommerce
) { ) {
$requestString .= "&idGoal=" . $this->processOnlyIdGoal; $requestArray["idGoal"] = $this->processOnlyIdGoal;
} }
return $requestString . '&filter_update_columns_when_show_all_goals=1'; $requestArray['filter_update_columns_when_show_all_goals'] = 1;
return $requestArray;
} }
protected $columnsToRevenueFilter = array(); protected $columnsToRevenueFilter = array();
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter