Skip to content

Commit

Permalink
Merge pull request #2638 from archivesspace/ANW-1095
Browse files Browse the repository at this point in the history
ANW-1095: display all creators in public interface
  • Loading branch information
Brian Hoffman committed Mar 1, 2022
2 parents c72fd94 + b790d3b commit c70d5e2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions public/app/views/shared/_record_innards.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@
<% end %>
<% if @result.agents && Array(@result.agents['creator']).length > 0 %>
<% a_direct_creator = @result.agents['creator'].reject{|r| r['_inherited']}.take(1) %>
<% unless a_direct_creator.empty? %>
<%= render partial: 'shared/agents_list', locals: {:list => {'creator' => a_direct_creator}, :heading_size => 'h2'} %>
<% end %>
<%= render partial: 'shared/agents_list', locals: {:list => {'creator' => @result.agents['creator']}, :heading_size => 'h2'} %>
<% end %>
<% non_folder.each do |type| %>
Expand Down

0 comments on commit c70d5e2

Please sign in to comment.