diff --git a/logs/views.py b/logs/views.py index 9e27c661..47c00a0f 100644 --- a/logs/views.py +++ b/logs/views.py @@ -535,7 +535,7 @@ def stats_rooms(request): _("Unoccupied rooms"): { _("Action"): Room.objects.filter( adherent__isnull=True - ).order_by('Room.name')[:40], + ), }, } return render(request, 'logs/stats_rooms.html', {'stats_list': stats})