Use all open tickets.
This commit is contained in:
parent
09253a3c0e
commit
458d700db3
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ class Stats::TicketLoadMeasure
|
|||
|
||||
def self.generate(user)
|
||||
|
||||
open_state_ids = Ticket::State.by_category('work_on_all').map(&:id)
|
||||
open_state_ids = Ticket::State.by_category('open').map(&:id)
|
||||
|
||||
# owned tickets
|
||||
count = Ticket.where(owner_id: user.id, state_id: open_state_ids).count
|
||||
|
|
Loading…
Reference in a new issue