Return the data name as the action key when launching the graph_open action
The ids of each record is in fact indexed by the name of the label in a pie chart Closes #14340 (grafted from b69cd826844dd5625eafd75e15d06db5b1300427) --HG-- branch : 6.0
This commit is contained in:
1 parent
5271404566
commit
f948c305fb
1 file changed
+2
-1
@@ -366,7 +366,8 @@
|
||||
Sao.View.Graph.Pie._super._add_id.call(this, key, id);
|
||||
},
|
||||
_action_key: function(data) {
|
||||
return data.id;
|
||||
// data.name is the label used for the x axis
|
||||
return data.name;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user