Skip to content
Extraits de code Groupes Projets
Valider 5080cf23 rédigé par Thomas Steur's avatar Thomas Steur
Parcourir les fichiers

fix records to plot in metrics selector do not have the correct names in referrers.overview

parent 8ba398b6
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -65,7 +65,7 @@ abstract class Graph extends Visualization ...@@ -65,7 +65,7 @@ abstract class Graph extends Visualization
* Determines what rows are selectable and stores them in the selectable_rows property in * Determines what rows are selectable and stores them in the selectable_rows property in
* a format the SeriesPicker JavaScript class can use. * a format the SeriesPicker JavaScript class can use.
*/ */
public function beforeGenericFiltersAreAppliedToLoadedDataTable() public function determineWhichRowsAreSelectable()
{ {
if ($this->config->row_picker_match_rows_by === false) { if ($this->config->row_picker_match_rows_by === false) {
return; return;
...@@ -108,6 +108,8 @@ abstract class Graph extends Visualization ...@@ -108,6 +108,8 @@ abstract class Graph extends Visualization
*/ */
public function afterAllFilteresAreApplied() public function afterAllFilteresAreApplied()
{ {
$this->determineWhichRowsAreSelectable();
$this->config->selectable_rows = array_values($this->selectableRows); $this->config->selectable_rows = array_values($this->selectableRows);
$selectableColumns = $this->config->selectable_columns; $selectableColumns = $this->config->selectable_columns;
......
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