Browse Source

HOT-FIX: add distinct ao filtro de usuários

pull/3372/head
Leandro Roberto 4 years ago
parent
commit
e32350ba7b
  1. 2
      sapl/base/views.py

2
sapl/base/views.py

@ -2047,7 +2047,7 @@ class UserCrud(Crud):
q |= Q(groups__name__icontains=q_param)
qs = qs.filter(q)
return qs.order_by('-id')
return qs.distinct('id').order_by('-id')
class CasaLegislativaCrud(CrudAux):

Loading…
Cancel
Save