From 69126440d3caa54a3ad694212166a4c70308ec14 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Fri, 21 Jan 2022 21:30:20 +0000 Subject: [PATCH] Increase number of sessions shown --- apiserver/apiserver/api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/apiserver/api/views.py b/apiserver/apiserver/api/views.py index 286c9f3..5afeb2c 100644 --- a/apiserver/apiserver/api/views.py +++ b/apiserver/apiserver/api/views.py @@ -245,7 +245,7 @@ class SessionViewSet(Base, List, Retrieve, Create, Update): def get_queryset(self): if self.action == 'list': - return models.Session.objects.order_by('-datetime')[:20] + return models.Session.objects.order_by('-datetime')[:50] else: return models.Session.objects.all()