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