[8.8] [Enterprise Search] [8.8] [Search Application] Fix indices action url (#157861) (#157873)

# Backport

This will backport the following commits from `main` to `8.8`:
- [[Enterprise Search] [8.8] [Search Application] Fix indices action url
(#157861)](https://github.com/elastic/kibana/pull/157861)

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

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

<!--BACKPORT [{"author":{"name":"Joseph
McElroy","email":"joseph.mcelroy@elastic.co"},"sourceCommit":{"committedDate":"2023-05-16T12:24:34Z","message":"[Enterprise
Search] [8.8] [Search Application] Fix indices action url
(#157861)\n\n65c2e8fe-b4b6-4ac2-86d5-85fdc88ede15\r\n\r\n\r\nExpected:
clicking on the eye icon, the user should be taken to the\r\nindex view
page\r\nactual: 404
page","sha":"8bdc9fa02d2e6da735b8dbc2cb3afb0f7a9b15ce","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","Team:EnterpriseSearch","v8.8.0","v8.9.0"],"number":157861,"url":"https://github.com/elastic/kibana/pull/157861","mergeCommit":{"message":"[Enterprise
Search] [8.8] [Search Application] Fix indices action url
(#157861)\n\n65c2e8fe-b4b6-4ac2-86d5-85fdc88ede15\r\n\r\n\r\nExpected:
clicking on the eye icon, the user should be taken to the\r\nindex view
page\r\nactual: 404
page","sha":"8bdc9fa02d2e6da735b8dbc2cb3afb0f7a9b15ce"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/157861","number":157861,"mergeCommit":{"message":"[Enterprise
Search] [8.8] [Search Application] Fix indices action url
(#157861)\n\n65c2e8fe-b4b6-4ac2-86d5-85fdc88ede15\r\n\r\n\r\nExpected:
clicking on the eye icon, the user should be taken to the\r\nindex view
page\r\nactual: 404
page","sha":"8bdc9fa02d2e6da735b8dbc2cb3afb0f7a9b15ce"}}]}] BACKPORT-->

Co-authored-by: Joseph McElroy <joseph.mcelroy@elastic.co>
This commit is contained in:
Kibana Machine 2023-05-16 09:35:47 -04:00 committed by GitHub
parent 5c822620b7
commit 25de798ec2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -155,9 +155,12 @@ export const EngineIndices: React.FC = () => {
),
onClick: (index) =>
navigateToUrl(
generateEncodedPath(SEARCH_INDEX_PATH, {
`${ENTERPRISE_SEARCH_CONTENT_PLUGIN.URL}/${generateEncodedPath(SEARCH_INDEX_PATH, {
indexName: index.name,
})
})}`,
{
shouldNotCreateHref: true,
}
),
type: 'icon',
},