From 85287a34cb30393e0531455e277adbb8b55b7c0b Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Wed, 5 Feb 2020 16:21:16 +0100 Subject: [PATCH] Fixed closed issue filter. --- src/org/april/agirstatool/core/AgirStatool.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/org/april/agirstatool/core/AgirStatool.java b/src/org/april/agirstatool/core/AgirStatool.java index c924b1c..17b42a3 100644 --- a/src/org/april/agirstatool/core/AgirStatool.java +++ b/src/org/april/agirstatool/core/AgirStatool.java @@ -544,7 +544,9 @@ public class AgirStatool sql.append("FROM "); sql.append(" issues "); sql.append("WHERE "); - sql.append(" project_id in (" + subSql.toString() + ") and closed_on is not null "); + // sql.append(" project_id in (" + subSql.toString() + ") and + // closed_on is not null and status_id <> 16 "); + sql.append(" project_id in (" + subSql.toString() + ") and status_id in (3, 5, 6) "); sql.append("GROUP BY "); sql.append(" date;");