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
This commit is contained in:
@@ -362,7 +362,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