Browse Source

Update sapl/base/views.py

Co-Authored-By: rjoao <cont.joaorodrigues@gmail.com>
pull/2517/head
Edward 7 years ago
committed by GitHub
parent
commit
529b78ffbb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      sapl/base/views.py

2
sapl/base/views.py

@ -1306,7 +1306,7 @@ class PesquisarUsuarioView(PermissionRequiredMixin, FilterView):
super(PesquisarUsuarioView, self).get(request)
data = self.filterset.data
if data is not None:
if data:
url = "&" + str(self.request.environ['QUERY_STRING'])
if url.startswith("&page"):
ponto_comeco = url.find('username=') - 1

Loading…
Cancel
Save