Skip to content

Commit

Permalink
Update list.html
Browse files Browse the repository at this point in the history
  • Loading branch information
numberbee7070 authored Jun 15, 2024
1 parent d4257a2 commit 847cbbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqladmin/templates/sqladmin/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ <h3 class="card-title">{{ model_view.name_plural }}</h3>
</a>
<div class="dropdown-menu">
{% for page_size_option in model_view.page_size_options %}
<a class="dropdown-item" href="{{ request.url.include_query_params(pageSize=page_size_option,page=((pagination.page - 1) * pagination.page_size // page_size_option + 1)}}">
<a class="dropdown-item" href="{{ request.url.include_query_params(pageSize=page_size_option,page=((pagination.page - 1) * pagination.page_size // page_size_option + 1))}}">
{{ page_size_option }} / Page
</a>
{% endfor %}
Expand Down

0 comments on commit 847cbbf

Please sign in to comment.