From 8eecfabcd0ad2592ea78a0b5d4e033aae5ee3b3f Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Mon, 22 Oct 2018 13:16:15 -0300 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20conserta=20indexacao=20por=20numero?= =?UTF-8?q?=20de=20audi=C3=AAncia?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/audiencia/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sapl/audiencia/views.py b/sapl/audiencia/views.py index fa9084520..0a8da8af1 100644 --- a/sapl/audiencia/views.py +++ b/sapl/audiencia/views.py @@ -29,7 +29,8 @@ class AudienciaCrud(Crud): audiencia_materia = {} for o in context['object_list']: - audiencia_materia[str(o.id)] = o.materia + # indexado pelo numero da audiencia + audiencia_materia[str(o.numero)] = o.materia for row in context['rows']: coluna_materia = row[3] # se mudar a ordem de listagem mudar aqui