[8.6] [APM] Fix sorting by transaction name (#150547) (#150590)

# Backport

This will backport the following commits from `main` to `8.6`:
- [[APM] Fix sorting by transaction name
(#150547)](https://github.com/elastic/kibana/pull/150547)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Katerina
Patticha","email":"aikaterini.patticha@elastic.co"},"sourceCommit":{"committedDate":"2023-02-08T15:37:13Z","message":"[APM]
Fix sorting by transaction name (#150547)\n\nCloses
217521154-012aca9a-5857-463c-8e56-bee44c2b002b.mov","sha":"f935d066f6b07b20f5bf76636a3d09dd70e06e32","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:APM","release_note:skip","backport:prev-minor","v8.7.0"],"number":150547,"url":"https://github.com/elastic/kibana/pull/150547","mergeCommit":{"message":"[APM]
Fix sorting by transaction name (#150547)\n\nCloses
217521154-012aca9a-5857-463c-8e56-bee44c2b002b.mov","sha":"f935d066f6b07b20f5bf76636a3d09dd70e06e32"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150547","number":150547,"mergeCommit":{"message":"[APM]
Fix sorting by transaction name (#150547)\n\nCloses
217521154-012aca9a-5857-463c-8e56-bee44c2b002b.mov","sha":"f935d066f6b07b20f5bf76636a3d09dd70e06e32"}}]}]
BACKPORT-->

Co-authored-by: Katerina Patticha <aikaterini.patticha@elastic.co>
This commit is contained in:
Kibana Machine 2023-02-27 08:03:20 -05:00 committed by GitHub
parent 2f70bdde34
commit ee85c5d877
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,7 @@ export function getTraceListColumns({
}): Array<ITableColumn<TraceGroup>> {
return [
{
field: 'name',
field: 'transactionName',
name: i18n.translate('xpack.apm.tracesTable.nameColumnLabel', {
defaultMessage: 'Name',
}),