From 5080cf23d444de0d9334b65c52a0f2c2e3707a80 Mon Sep 17 00:00:00 2001
From: Thomas Steur <thomas.steur@gmail.com>
Date: Wed, 23 Oct 2013 02:42:35 +0000
Subject: [PATCH] fix records to plot in metrics selector do not have the
 correct names in referrers.overview

---
 plugins/CoreVisualizations/Visualizations/Graph.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/plugins/CoreVisualizations/Visualizations/Graph.php b/plugins/CoreVisualizations/Visualizations/Graph.php
index 3d979be504..6e807537a1 100644
--- a/plugins/CoreVisualizations/Visualizations/Graph.php
+++ b/plugins/CoreVisualizations/Visualizations/Graph.php
@@ -65,7 +65,7 @@ abstract class Graph extends Visualization
      * Determines what rows are selectable and stores them in the selectable_rows property in
      * a format the SeriesPicker JavaScript class can use.
      */
-    public function beforeGenericFiltersAreAppliedToLoadedDataTable()
+    public function determineWhichRowsAreSelectable()
     {
         if ($this->config->row_picker_match_rows_by === false) {
             return;
@@ -108,6 +108,8 @@ abstract class Graph extends Visualization
      */
     public function afterAllFilteresAreApplied()
     {
+        $this->determineWhichRowsAreSelectable();
+
         $this->config->selectable_rows = array_values($this->selectableRows);
 
         $selectableColumns = $this->config->selectable_columns;
-- 
GitLab