Skip to content

Commit

Permalink
This commit fixes small bug.
Browse files Browse the repository at this point in the history
It was impossible to add a new sub-collection on collection/manage page as we missed 'Collection' item_type value in drop-down
  • Loading branch information
damisul authored and abartov committed Dec 24, 2024
1 parent 73f6558 commit 329dfce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ def collection_item_types_options
.map { |k, _v| [textify_collection_type(k), k] } +
[
[t(:work), 'Manifestation'],
[Collection.model_name, 'Collection'],
[t(:paratext), 'paratext'],
[t(:placeholder_item), 'placeholder_item']
]
Expand Down

0 comments on commit 329dfce

Please sign in to comment.