From 5be68c7e8537f17f87ca3ebc2be21af081f0d473 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 | 3 +++ materia/forms.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 65fefe18f..18557c784 100644 --- a/.gitignore +++ b/.gitignore @@ -88,3 +88,6 @@ collected_static bower bower_components media + +#merge garbage +.orig \ No newline at end of file diff --git a/materia/forms.py b/materia/forms.py index f48090fce..ed06180cb 100644 --- a/materia/forms.py +++ b/materia/forms.py @@ -641,7 +641,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'),