mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 09:51:22 -06:00
Closes #4802: Allow changing page size when displaying only a single page of results
This commit is contained in:
parent
c8461095c9
commit
268b4c854e
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
## v2.8.7 (FUTURE)
|
## v2.8.7 (FUTURE)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* [#4802](https://github.com/netbox-community/netbox/issues/4802) - Allow changing page size when displaying only a single page of results
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
* [#4766](https://github.com/netbox-community/netbox/issues/4766) - Fix redirect after login when `next` is not specified
|
* [#4766](https://github.com/netbox-community/netbox/issues/4766) - Fix redirect after login when `next` is not specified
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
{% endif %}
|
||||||
<form method="get">
|
<form method="get">
|
||||||
{% for k, v_list in request.GET.lists %}
|
{% for k, v_list in request.GET.lists %}
|
||||||
{% if k != 'per_page' %}
|
{% if k != 'per_page' %}
|
||||||
@ -33,7 +34,6 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select> per page
|
</select> per page
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
|
||||||
{% if page %}
|
{% if page %}
|
||||||
<div class="text-right text-muted">
|
<div class="text-right text-muted">
|
||||||
Showing {{ page.start_index }}-{{ page.end_index }} of {{ page.paginator.count }}
|
Showing {{ page.start_index }}-{{ page.end_index }} of {{ page.paginator.count }}
|
||||||
|
Loading…
Reference in New Issue
Block a user