1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #11807: Restore default page size when navigating between views

This commit is contained in:
jeremystretch
2023-02-27 09:22:48 -05:00
parent ed77c03830
commit cfa6b28ceb
3 changed files with 5 additions and 3 deletions

View File

@ -76,8 +76,6 @@ def get_paginate_count(request):
if 'per_page' in request.GET:
try:
per_page = int(request.GET.get('per_page'))
if request.user.is_authenticated:
request.user.config.set('pagination.per_page', per_page, commit=True)
return _max_allowed(per_page)
except ValueError:
pass