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 e037d000e6e8f6..bc287eb2444eba 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 225aad8cab0206..0f6795d01f2e6f 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, }; }