Browse Source

HOT-FIX: mantem query_string em redirect app comp

pull/2963/head
Leandro Roberto 5 years ago
parent
commit
4211cff3a6
  1. 9
      sapl/compilacao/views.py

9
sapl/compilacao/views.py

@ -195,8 +195,13 @@ class IntegracaoTaView(TemplateView):
return redirect(to=reverse_lazy('sapl.compilacao:ta_text_edit',
kwargs={'ta_id': ta.pk}))
else:
return redirect(to=reverse_lazy('sapl.compilacao:ta_text',
kwargs={'ta_id': ta.pk}))
return redirect(
to='%s?%s' % (
reverse_lazy('sapl.compilacao:ta_text',
kwargs={'ta_id': ta.pk}),
request.META['QUERY_STRING']
)
)
class Meta:
abstract = True

Loading…
Cancel
Save