Skip to content

Commit

Permalink
Merge branch 'fix/search-page-errors-handling' into stage
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilelkihal committed Jan 31, 2025
2 parents f6eee83 + adab6fd commit 541fa5f
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 541fa5f

Please sign in to comment.