@ -262,7 +262,7 @@ class ProtocoloPesquisaView(FormMixin, GenericView):
kwargs['autor'] = request.POST['autor']
if request.POST['assunto']:
kwargs['assunto'] = request.POST['assunto']
kwargs['assunto_ementa__icontains'] = request.POST['assunto']
request.session['kwargs'] = kwargs
return redirect('protocolo_list')
@ -7,9 +7,9 @@
<!-- Total: {{ protocolos|length }} -->
<table>
<tr><td>Número de Protocolo</td>
<td>Ano</td>
<td>Assunto</td>
<td>Tipo de Documento</td>
<td>Data</td>
</tr>
{% for p in protocolos %}