Set all to seen if new state is pending reminder state.
This commit is contained in:
parent
4e35d9b3cc
commit
616237d5c7
1 changed files with 3 additions and 0 deletions
|
@ -243,6 +243,9 @@ returns
|
|||
state_type = Ticket::StateType.lookup( id: state.state_type_id )
|
||||
end
|
||||
|
||||
# set all to seen if new state is pending reminder state
|
||||
return true if state_type.name == 'pending reminder'
|
||||
|
||||
# set all to seen if new state is a closed or merged state
|
||||
return true if state_type.name == 'closed'
|
||||
return true if state_type.name == 'merged'
|
||||
|
|
Loading…
Reference in a new issue