Skip to content
Snippets Groups Projects
Commit 7f83498c authored by Anusha Ranganathan's avatar Anusha Ranganathan
Browse files

Fixed merge error

parent f99d69a4
No related merge requests found
Pipeline #11799 failed
......@@ -107,7 +107,6 @@ module HyraxHelper
importer.entries.left_outer_joins(:latest_status).where('bulkrax_statuses.status_message IS NULL').count
end
<<<<<<< HEAD
def sort_collections_docs_by_title(collections)
sort_items_by_title(collections, :title_or_label)
end
......@@ -132,6 +131,7 @@ module HyraxHelper
items.sort_by do |item|
item.send(title_attribute).gsub(/[^a-zA-Z0-9]/, '0').split(/(\d+)/).map { |s| s.match(/\d+/) ? s.to_i : s }
end
end
def available_user_groups(ability:)
return ::User.group_service.role_names if ability.admin?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment