From 2a321f5ccc1f3e705dc9d74ce2d95c5425c3dd18 Mon Sep 17 00:00:00 2001 From: Eduardo Calil Date: Mon, 4 Apr 2016 12:41:19 -0300 Subject: [PATCH] Arruma quebra em pesquisa por Relatoria --- .gitignore | 5 +++++ materia/forms.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 57b491858..8132994dd 100644 --- a/.gitignore +++ b/.gitignore @@ -89,6 +89,11 @@ bower bower_components media +<<<<<<< HEAD # Merge garbage .orig +======= +#merge garbage +.orig +>>>>>>> Arruma quebra em pesquisa por Relatoria diff --git a/materia/forms.py b/materia/forms.py index 6f4966ee4..4bfb9fa06 100644 --- a/materia/forms.py +++ b/materia/forms.py @@ -652,7 +652,7 @@ class MateriaLegislativaPesquisaFields(FilterSet): empty_label='Selecione', help_text="") - relatoria__parlamentar__id = django_filters.ModelChoiceFilter( + relatoria__parlamentar_id = django_filters.ModelChoiceFilter( label='Relator', required=False, queryset=Parlamentar.objects.all().order_by('nome_parlamentar'),