Skip to content

Commit

Permalink
Opera bien en casos con 4 o mas actos con la misma categoría y la mis…
Browse files Browse the repository at this point in the history
…ma víctima colectiva. Closes #706
  • Loading branch information
vtamara committed Sep 25, 2024
1 parent e503e53 commit 6c965a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/sivel2_gen/casos/_lista_pr_cat_victima.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
<% pr.each_with_index do |pri, i|%>
<%= "Y" if i != 0 %>
<% if pri.is_a? Array %>
<%= Sivel2Gen::Presponsable.find(pri).map(&:nombre_con_polo).join(" Y ") %>
<%= Sivel2Gen::Presponsable.find(pri.flatten).map(&:nombre_con_polo).join(" Y ") %>
<% else %>
<%= Sivel2Gen::Presponsable.find(pri).nombre_con_polo %>
<% end %>
Expand Down

0 comments on commit 6c965a0

Please sign in to comment.