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

change room ordering

This commit is contained in:
Lazare Olivry 2018-08-21 15:16:44 +02:00
parent 6d3679dfb8
commit 3109768fb0

View file

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