From 4c9433a68d02bb61138525dd72bb663189e28b0d Mon Sep 17 00:00:00 2001 From: Alex Fomenko Date: Wed, 12 Oct 2022 20:27:08 +0300 Subject: [PATCH 1/3] Fixed bug of computing Jobs issues nums --- cvat-ui/src/components/task-page/job-list.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cvat-ui/src/components/task-page/job-list.tsx b/cvat-ui/src/components/task-page/job-list.tsx index 9172ef77f806..4dc930802f58 100644 --- a/cvat-ui/src/components/task-page/job-list.tsx +++ b/cvat-ui/src/components/task-page/job-list.tsx @@ -33,8 +33,8 @@ function ReviewSummaryComponent({ jobInstance }: { jobInstance: any }): JSX.Elem .issues(jobInstance.id) .then((issues: any[]) => { setSummary({ - issues_unsolved: issues.filter((issue) => !issue.resolved_date).length, - issues_resolved: issues.filter((issue) => issue.resolved_date).length, + issues_unsolved: issues.filter((issue) => !issue.resolved).length, + issues_resolved: issues.filter((issue) => issue.resolved).length, }); }) .catch((_error: any) => { From c2deb74df8f59d334185429157f07a99a6acf262 Mon Sep 17 00:00:00 2001 From: Alex Fomenko Date: Thu, 13 Oct 2022 18:19:55 +0500 Subject: [PATCH 2/3] Updated changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a0755b13c403..0c7284f17ec9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,6 +45,7 @@ non-ascii paths while adding files from "Connected file share" (issue #4428) - A trailing slash in hostname does't allow SDK to send some requests () - Double modal export/backup a task/project () +- Fixed bug of computing Job's unsolved/resolved issues numbers (https://github.com/opencv/cvat/pull/5101) ### Security - TDB From 85a13f8ab1e9e392d7625643981e671f18d4d74e Mon Sep 17 00:00:00 2001 From: Boris Sekachev Date: Thu, 13 Oct 2022 22:20:09 +0100 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c7284f17ec9..a93ee008eb45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,7 +45,7 @@ non-ascii paths while adding files from "Connected file share" (issue #4428) - A trailing slash in hostname does't allow SDK to send some requests () - Double modal export/backup a task/project () -- Fixed bug of computing Job's unsolved/resolved issues numbers (https://github.com/opencv/cvat/pull/5101) +- Fixed bug of computing Job's unsolved/resolved issues numbers () ### Security - TDB