[UPDT] LEAVE: Pagination for leave request to approve card in main dashboard

This commit is contained in:
Horilla
2024-11-24 10:47:36 +05:30
parent 6f6dca3771
commit f4ffcef0bf

View File

@@ -5113,7 +5113,7 @@ def leave_allocation_approve(request):
allocation_reqests = filtersubordinates(
request, allocation_reqests, "leave.view_leaveallocationrequest"
)
# allocation_reqests = paginator_qry(allocation_reqests, page_number)
allocation_reqests = paginator_qry(allocation_reqests, page_number)
allocation_reqests_ids = json.dumps(
[instance.id for instance in allocation_reqests]
)