aging inventory list pagination and total car count fix
This commit is contained in:
parent
4820ca1b04
commit
3581e3b144
@ -807,7 +807,7 @@ def aging_inventory_list_view(request, dealer_slug):
|
|||||||
|
|
||||||
#
|
#
|
||||||
# Set up pagination
|
# Set up pagination
|
||||||
paginator = Paginator(aging_cars_queryset, 1)
|
paginator = Paginator(aging_cars_queryset, 10)
|
||||||
page_number = request.GET.get('page')
|
page_number = request.GET.get('page')
|
||||||
page_obj = paginator.get_page(page_number)
|
page_obj = paginator.get_page(page_number)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user