diff --git a/apps/api/plane/app/views/search/base.py b/apps/api/plane/app/views/search/base.py index f1e69265323..36b48cb6140 100644 --- a/apps/api/plane/app/views/search/base.py +++ b/apps/api/plane/app/views/search/base.py @@ -106,6 +106,7 @@ def filter_issues(self, query, slug, project_id, workspace_search): "project__identifier", "project_id", "workspace__slug", + "state_id" )[:100] def filter_cycles(self, query, slug, project_id, workspace_search): diff --git a/apps/web/core/components/power-k/ui/modal/search-results-map.tsx b/apps/web/core/components/power-k/ui/modal/search-results-map.tsx index 8233e2f503c..b67c227c116 100644 --- a/apps/web/core/components/power-k/ui/modal/search-results-map.tsx +++ b/apps/web/core/components/power-k/ui/modal/search-results-map.tsx @@ -14,6 +14,7 @@ import type { TPowerKSearchResultsKeys } from "@/components/power-k/core/types"; // plane web imports import { SEARCH_RESULTS_GROUPS_MAP_EXTENDED } from "@/plane-web/components/command-palette/power-k/search/search-results-map"; import { IssueIdentifier } from "@/plane-web/components/issues/issue-details/issue-identifier"; +import { StateDropdown } from "@/components/dropdowns/state/dropdown"; export type TPowerKSearchResultGroupDetails = { icon?: React.ComponentType<{ className?: string }>; @@ -43,7 +44,13 @@ export const POWER_K_SEARCH_RESULTS_GROUPS_MAP: Record{" "} + /> + {workItem.name} ), diff --git a/packages/types/src/workspace.ts b/packages/types/src/workspace.ts index 8c37ff23912..8b5a14d8e9e 100644 --- a/packages/types/src/workspace.ts +++ b/packages/types/src/workspace.ts @@ -129,6 +129,7 @@ export interface IWorkspaceIssueSearchResult { sequence_id: number; workspace__slug: string; type_id: string; + state_id: string; } export interface IWorkspacePageSearchResult {