When topic is closed, we mark assignments as "inactive". Then when it is reopen and setting reassign_on_open is enabled, we bring back previous assignments. We were already using custom fields for archive message and move to inbox. I changed custom fields solution to use active flag on Assignment model |
||
---|---|---|
.. | ||
assigned_topic_serializer.rb | ||
group_user_assigned_serializer.rb |