diff options
| author | Gery Debongnie <ged@openerp.com> | 2014-02-10 16:32:21 +0100 |
|---|---|---|
| committer | Gery Debongnie <ged@openerp.com> | 2014-02-10 16:32:21 +0100 |
| commit | 321a4a74027364f709a9830faeba4d5a70a814fe (patch) | |
| tree | d67a12837d6af6a873a0303f46a53c558b9c5cd3 /addons/web_graph/static/src/js/graph_view.js | |
| parent | 9eda870d2b8bad1d2c480a9a54eb7264ce4df183 (diff) | |
[FIX] make sure the graph view takes the col_group_by from the search view and not from the context.
It was taken from the context, and had the unfortunate side effect that the user could not ungroup by removing the facet from the search view. (addon web_graph)
bzr revid: ged@openerp.com-20140210153221-olkv8xee02r9voer
Diffstat (limited to 'addons/web_graph/static/src/js/graph_view.js')
| -rw-r--r-- | addons/web_graph/static/src/js/graph_view.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_graph/static/src/js/graph_view.js b/addons/web_graph/static/src/js/graph_view.js index 33b99b88bcf..ace2f14ae20 100644 --- a/addons/web_graph/static/src/js/graph_view.js +++ b/addons/web_graph/static/src/js/graph_view.js @@ -83,7 +83,7 @@ instance.web_graph.GraphView = instance.web.View.extend({ } var self = this, - col_group_by = this.extract_groupby('col_group_by', context) || []; + col_group_by = self.get_groupbys_from_searchview('ColGroupBy', 'col_group_by'); if (!this.graph_widget) { if (group_by.length) { |
