From 97bd0bd8e626f627013a753f3eefcf80628e3a9b Mon Sep 17 00:00:00 2001 From: yystopf Date: Tue, 15 Jul 2025 14:51:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=EF=BC=9Astatistics=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E8=A7=84=E5=88=99=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/api/pm/projects_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/pm/projects_controller.rb b/app/controllers/api/pm/projects_controller.rb index 23adf212d..ec0bf39d3 100644 --- a/app/controllers/api/pm/projects_controller.rb +++ b/app/controllers/api/pm/projects_controller.rb @@ -66,7 +66,7 @@ class Api::Pm::ProjectsController < Api::Pm::BaseController IssueStatus.all.map do |e| # next if e.id == 5 [1,2,3].map{ |type| - next if e.id == 7 || e.id == 8 + next if [2,3].include?(type) && [7, 8].include?(e.id) type_status_data[type] = {} if type_status_data[type].nil? if type_status[[type,e.id]].nil? type_status_data[type][e.id] = 0