diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-04-20 09:37:13 +1000 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-04-20 09:37:13 +1000 |
commit | 7deabcc40c6b40ad47dff2809c772e2186bd11d1 (patch) | |
tree | daafeacef1bcebcd5ff7a862834f551c4164826a /app/models/info_request.rb | |
parent | 1f1fcfdc5353e7ad8c4eed81d6c5e94ae9ced002 (diff) |
How we would handle event states if we added a state_update event whenever a user classifies a request
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index 5d8e10ddb..c615a6a9e 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -639,7 +639,7 @@ public event.save! end curr_state = nil - elsif !curr_state.nil? && (event.event_type == 'followup_sent' || event.event_type == 'sent') + elsif !curr_state.nil? && (event.event_type == 'followup_sent' || event.event_type == 'sent' || event.event_type == "status_update") # Followups can set the status to waiting response / internal # review. Initial requests ('sent') set the status to waiting response. |