From 2cbdeafdd1e8ffa915054935e980ac2c7147b53f Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Thu, 2 Mar 2023 11:36:21 +0600 Subject: [PATCH] Fix related issues assignee (#2702) Signed-off-by: Denis Bykhov --- .../src/components/issues/related/RelatedIssues.svelte | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/tracker-resources/src/components/issues/related/RelatedIssues.svelte b/plugins/tracker-resources/src/components/issues/related/RelatedIssues.svelte index 58885d359f..f5ad9f6e39 100644 --- a/plugins/tracker-resources/src/components/issues/related/RelatedIssues.svelte +++ b/plugins/tracker-resources/src/components/issues/related/RelatedIssues.svelte @@ -22,6 +22,7 @@ import tracker from '../../../plugin' import SubIssueList from '../edit/SubIssueList.svelte' import AddIssueDuo from '../../icons/AddIssueDuo.svelte' + import contact from '@hcengineering/contact' export let object: Doc export let viewlet: Viewlet @@ -40,7 +41,10 @@ let teams: Map, Team> | undefined $: subIssuesQuery.query(tracker.class.Issue, query, async (result) => (subIssues = result), { - sort: { rank: SortingOrder.Ascending } + sort: { rank: SortingOrder.Ascending }, + lookup: { + assignee: contact.class.Employee + } }) const teamsQuery = createQuery()