Merge pull request #2528 from urbanrotnik/ur-sci-4542-user-filter

Fix for user filter in task activity page [SCI-4542]
This commit is contained in:
Urban Rotnik 2020-05-05 10:25:26 +02:00 committed by GitHub
commit 4947255015
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,7 @@ module TeamBySubjectModel
valid_subjects = Extends::ACTIVITY_SUBJECT_CHILDREN
# Check all activity subject
valid_subjects.each do |subject, _children|
subject = subject.to_s.camelize.to_sym
next unless subjects[subject]
parent_array = [subject.to_s.underscore]