Browse Source

Update sapl/parlamentares/views.py

pull/3288/head
Edward 5 years ago
committed by GitHub
parent
commit
cdf2fd4cb1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      sapl/parlamentares/views.py

2
sapl/parlamentares/views.py

@ -1078,7 +1078,7 @@ def altera_field_mesa_public_view(request):
legislatura = request.GET.get('legislatura', Legislatura.objects.order_by('-data_inicio').first())
sessoes = legislatura.sessaoplenaria_set.filter(tipo='O').order_by('-data_inicio')
if not sessoes:
return JsonResponse({'msg': ('Nenhuma legislatura encontrada!', 0)})
return JsonResponse({'msg': ('Nenhuma sessão encontrada!', 0)})
# Verifica se já tem uma sessão selecionada. Ocorre quando é alterado o campo de sessão
if 'sessao' in request.GET:

Loading…
Cancel
Save