Skip to content

Commit

Permalink
Fixed sales page not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
Mstiekema committed Dec 13, 2023
1 parent 0a2289b commit 101fcf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin_board_view/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def transactions(request):

# Get paginators
top_up_page = create_paginator(TopUpTransaction.objects.all(), request.GET.get('top_ups'))
sales_paginator = create_paginator(product_sale_groups, request.GET.get('sales'), p_len=10)
sales_page = create_paginator(product_sale_groups, request.GET.get('sales'), p_len=10)

return render(request, "transactions.html", { "top_ups": top_up_page, "sales": sales_page })

Expand Down

0 comments on commit 101fcf7

Please sign in to comment.