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:
Nicolas Évrard
2025-10-31 18:02:26 +01:00
parent 6c7e903226
commit 10ee881e65
+2 -1
View File
@@ -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;
}
});