From 5f8c8ef865be255d6fe8e305838f3a726edaaa42 Mon Sep 17 00:00:00 2001
From: benakamoorthi <benaka.moorthi@gmail.com>
Date: Sat, 19 May 2012 19:10:08 +0000
Subject: [PATCH] Fixes #2946, make sure 'columns' query parameter is passed to
 Controller method when switching to a graph view.

git-svn-id: http://dev.piwik.org/svn/trunk@6275 59fd770c-687e-43c8-a1e3-f5a4ff64c105
---
 plugins/CoreHome/templates/datatable.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/CoreHome/templates/datatable.js b/plugins/CoreHome/templates/datatable.js
index b6296c080f..496d480c1d 100644
--- a/plugins/CoreHome/templates/datatable.js
+++ b/plugins/CoreHome/templates/datatable.js
@@ -524,6 +524,7 @@ dataTable.prototype =
 				
 				var filters = self.resetAllFilters();
 				self.param.flat = filters.flat;
+				self.param.columns = filters.columns;
 				
 				self.param.viewDataTable = viewDataTable;
 				self.reloadAjaxDataTable();
-- 
GitLab