From 56919415d4ce665e143cb9ccf528a6170e598d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rog=C3=A9rio=20Fr=C3=A1?= Date: Thu, 20 Jul 2017 17:21:12 -0300 Subject: [PATCH] Mostra todos os autores no resultado da pesquisa --- .../materia/materialegislativa_filter.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/sapl/templates/materia/materialegislativa_filter.html b/sapl/templates/materia/materialegislativa_filter.html index d7b0bb3ec..240e2b246 100644 --- a/sapl/templates/materia/materialegislativa_filter.html +++ b/sapl/templates/materia/materialegislativa_filter.html @@ -60,12 +60,14 @@ {% endif %} {% if m.autoria_set.all %} - Autor: - {% for a in m.autoria_set.all %} - {% if a.primeiro_autor %} -  {{a.autor.nome}} - {% endif %} - {% endfor %} + Autor: + {% for a in m.autoria_set.all %} + {% if not forloop.first %} +
{{a.autor}} + {% else %} +  {{a.autor}} + {% endif %} + {% endfor %}
{% endif %} {% if m.tramitacao_set.last.unidade_tramitacao_destino %}