diff --git a/protocoloadm/views.py b/protocoloadm/views.py index bf21552e4..2f53283fc 100644 --- a/protocoloadm/views.py +++ b/protocoloadm/views.py @@ -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') diff --git a/templates/protocoloadm/protocolo_list.html b/templates/protocoloadm/protocolo_list.html index cc7b6e400..870339ccc 100644 --- a/templates/protocoloadm/protocolo_list.html +++ b/templates/protocoloadm/protocolo_list.html @@ -7,9 +7,9 @@ + - {% for p in protocolos %}
NĂºmero de ProtocoloAno Assunto Tipo de DocumentoAno Data