Skip to content

Commit

Permalink
feat(crawler): add concatenated required tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerska committed Sep 12, 2017
1 parent b3e7c73 commit b2a5e7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crawler/types/section.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def access_policy complete: false
res['restricted_to_group_ids_empty'] = res['restricted_to_group_ids'].empty?
res['restricted_to_organization_ids_empty'] = res['restricted_to_organization_ids'].empty?
res['required_tags_empty'] = res['required_tags'].empty?
res['required_tags_concatenated'] = res['required_tags'].join('-')
complete ? res : res['viewable_by']
end

Expand Down

0 comments on commit b2a5e7f

Please sign in to comment.