8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 11:23:10 +00:00

fixup! change room ordering

This commit is contained in:
Lazare Olivry 2018-08-21 15:18:21 +02:00
parent 3109768fb0
commit e9cf13d2db

View file

@ -535,7 +535,7 @@ def stats_rooms(request):
_("Unoccupied rooms"): { _("Unoccupied rooms"): {
_("Action"): Room.objects.filter( _("Action"): Room.objects.filter(
adherent__isnull=True adherent__isnull=True
).order_by('Room.name')[:40], ),
}, },
} }
return render(request, 'logs/stats_rooms.html', {'stats_list': stats}) return render(request, 'logs/stats_rooms.html', {'stats_list': stats})