Skip to content

Commit

Permalink
fix federated search portal not responding name bad handling (#924)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilelkihal authored Feb 4, 2025
1 parent 1e611e5 commit 80071dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/federation_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def federation_error?(response)
end

def federation_error(response)
federation_errors = response[:errors].map { |e| ontology_portal_name(e.split(' ').last.gsub('search', '')) }
federation_errors = response[:errors].map { |e| e.split(' ').last }
federation_errors.map { |p| "#{p} #{t('federation.not_responding')} " }.join(' ')
end

Expand Down

0 comments on commit 80071dc

Please sign in to comment.