diff --git a/app/controllers/api/pm/projects_controller.rb b/app/controllers/api/pm/projects_controller.rb index bd7c0991d..3cece6400 100644 --- a/app/controllers/api/pm/projects_controller.rb +++ b/app/controllers/api/pm/projects_controller.rb @@ -64,6 +64,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 type == 1 && [1, 6].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