make recent clients pagination load 20 per request

This commit is contained in:
RaidMax 2022-04-25 16:13:18 -05:00
parent c51d28937b
commit 104d9bdc4c
2 changed files with 3 additions and 3 deletions

View File

@ -319,9 +319,9 @@ namespace WebfrontCore.Controllers
{
ViewBag.First = request.Offset == 0;
if (request.Count > 30)
if (request.Count > 20)
{
request.Count = 30;
request.Count = 20;
}
var clients = await Manager.GetClientService().GetRecentClients(request);

View File

@ -26,5 +26,5 @@
{
<i id="loaderLoad" class="loader-load-more oi oi-chevron-bottom text-center text-primary d-none d-lg-block mt-10"></i>
<script>initLoader('/Action/RecentClientsForm', '#recentClientsContainer', 30);</script>
<script>initLoader('/Action/RecentClientsForm', '#recentClientsContainer', 20);</script>
}