[UPDT] BASE: Updated records per page to take from settings and changed default pagination

This commit is contained in:
Horilla
2025-10-15 17:25:24 +05:30
parent bbf5bc37af
commit d1bcaab7ca
2 changed files with 12 additions and 5 deletions

View File

@@ -849,7 +849,7 @@ def get_pagination():
request = getattr(_thread_locals, "request", None)
user = request.user
page = DynamicPagination.objects.filter(user_id=user).first()
count = 50
count = 20
if page:
count = page.pagination
return count