make recent clients pagination load 20 per request
This commit is contained in:
parent
c51d28937b
commit
104d9bdc4c
@ -319,9 +319,9 @@ namespace WebfrontCore.Controllers
|
|||||||
{
|
{
|
||||||
ViewBag.First = request.Offset == 0;
|
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);
|
var clients = await Manager.GetClientService().GetRecentClients(request);
|
||||||
|
@ -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>
|
<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>
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user