diff --git a/x-pack/plugins/endpoint/public/applications/endpoint/view/alerts/url_from_query_params.ts b/x-pack/plugins/endpoint/public/applications/endpoint/view/alerts/url_from_query_params.ts index e037d000e6e8f..bc287eb2444eb 100644 --- a/x-pack/plugins/endpoint/public/applications/endpoint/view/alerts/url_from_query_params.ts +++ b/x-pack/plugins/endpoint/public/applications/endpoint/view/alerts/url_from_query_params.ts @@ -26,6 +26,7 @@ export function urlFromQueryParams( ): Partial { const search = querystring.stringify(queryParams); return { + pathname: '/alerts', search, }; } diff --git a/x-pack/plugins/endpoint/public/applications/endpoint/view/hosts/url_from_query_params.ts b/x-pack/plugins/endpoint/public/applications/endpoint/view/hosts/url_from_query_params.ts index 225aad8cab020..0f6795d01f2e6 100644 --- a/x-pack/plugins/endpoint/public/applications/endpoint/view/hosts/url_from_query_params.ts +++ b/x-pack/plugins/endpoint/public/applications/endpoint/view/hosts/url_from_query_params.ts @@ -12,6 +12,7 @@ export function urlFromQueryParams( ): Partial { const search = querystring.stringify(queryParams); return { + pathname: '/hosts', search, }; }