diff --git a/sapl/base/views.py b/sapl/base/views.py index fc887f42c..3bbe7d6ac 100644 --- a/sapl/base/views.py +++ b/sapl/base/views.py @@ -2281,6 +2281,12 @@ class PesquisarAuditLogView(FilterView): paginator = context["paginator"] page_obj = context["page_obj"] + qr = self.request.GET.copy() + if 'page' in qr: + del qr['page'] + context['filter_url'] = ('&' + qr.urlencode()) if len(qr) > 0 else '' + context['show_results'] = show_results_filter_set(qr) + context.update({ "page_range": make_pagination( page_obj.number, paginator.num_pages