diff --git a/apiserver/plane/app/urls/search.py b/apiserver/plane/app/urls/search.py index 6cdf0a871cd..de4f1e7b2c0 100644 --- a/apiserver/plane/app/urls/search.py +++ b/apiserver/plane/app/urls/search.py @@ -16,8 +16,8 @@ name="project-issue-search", ), path( - "workspaces//projects//search/", + "workspaces//projects//entity-search/", SearchEndpoint.as_view(), - name="search", + name="entity-search", ), ] diff --git a/web/core/services/project/project.service.ts b/web/core/services/project/project.service.ts index 508a26ab740..8d419362262 100644 --- a/web/core/services/project/project.service.ts +++ b/web/core/services/project/project.service.ts @@ -172,7 +172,7 @@ export class ProjectService extends APIService { query: string; } ): Promise { - return this.get(`/api/workspaces/${workspaceSlug}/projects/${projectId}/search/`, { + return this.get(`/api/workspaces/${workspaceSlug}/projects/${projectId}/entity-search/`, { params: { ...params, query_type: params.query_type.join(","),