forked from Gitlink/forgeplus
更改:statistics查询规则更改
This commit is contained in:
parent
8fa6e2b554
commit
97bd0bd8e6
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue