summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js/graph_widget.js
diff options
context:
space:
mode:
authorGery Debongnie <ged@openerp.com>2014-01-15 16:51:37 +0100
committerGery Debongnie <ged@openerp.com>2014-01-15 16:51:37 +0100
commit74d6e75007ea089d79190e58a2579aaa8cd46060 (patch)
tree3415683c4836d7712c391eed7c5c94d6d1338781 /addons/web_graph/static/src/js/graph_widget.js
parent4343ca278a21cd12880857736a9bf81a4cc83524 (diff)
[IMP] supports col groupby in search view in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140115155137-qwy0sr49zhizgmf6
Diffstat (limited to 'addons/web_graph/static/src/js/graph_widget.js')
-rw-r--r--addons/web_graph/static/src/js/graph_widget.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_graph/static/src/js/graph_widget.js b/addons/web_graph/static/src/js/graph_widget.js
index a2f7761514a..d84c8d794f4 100644
--- a/addons/web_graph/static/src/js/graph_widget.js
+++ b/addons/web_graph/static/src/js/graph_widget.js
@@ -122,11 +122,11 @@ openerp.web_graph.Graph = openerp.web.Widget.extend(openerp.EventDispatcherMixin
// returns the row groupbys as a list of fields (not the representation used
// internally by pivot table)
get_row_groupby: function () {
- return _.pluck(this.pivot.rows.groupby, 'field');
+ return this.pivot.rows.groupby;
},
get_col_groupby: function () {
- return _.pluck(this.pivot.cols.groupby, 'field');
+ return this.pivot.cols.groupby;
},
reload: function () {