diff --git a/sapl/base/views.py b/sapl/base/views.py index 8412b83af..3bb3d47fe 100644 --- a/sapl/base/views.py +++ b/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):