kopia lustrzana https://github.com/wagtail/wagtail
Fix pagination url for 'view users in a group' (#6880)
rodzic
571b9e1918
commit
f9d1ec0bf7
|
@ -19,6 +19,7 @@ Changelog
|
|||
* Fix: Make image chooser "Select format" fields translatable (Helen Chapman, Thibaud Colas)
|
||||
* Fix: Move labels above the form field in the image format chooser, to avoid styling issues at tablet size (Helen Chapman)
|
||||
* Fix: `{% include_block with context %}` now passes local variables into the block template (Jonny Scholes)
|
||||
* Fix: Fix pagination on 'view users in a group' (Sagar Agarwal)
|
||||
|
||||
|
||||
2.12.3 (05.03.2021)
|
||||
|
|
|
@ -500,6 +500,7 @@ Contributors
|
|||
* Lara Thompson
|
||||
* Tibor Leupold
|
||||
* Joan Eliot
|
||||
* Sagar Agarwal
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
@ -38,6 +38,7 @@ Bug fixes
|
|||
* StreamField required status is now consistently handled by the ``blank`` keyword argument (Matt Westcott)
|
||||
* Show 'required' asterisks for blocks inside required StreamFields (Matt Westcott)
|
||||
* Make image chooser "Select format" fields translatable (Helen Chapman, Thibaud Colas)
|
||||
* Fix pagination on 'view users in a group' (Sagar Agarwal)
|
||||
|
||||
|
||||
Upgrade considerations
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
|
||||
{% include "wagtailusers/users/list.html" %}
|
||||
|
||||
{% include "wagtailadmin/shared/pagination_nav.html" with items=users linkurl="wagtailusers_users:index" %}
|
||||
{# call pagination_nav with no linkurl, to generate general-purpose links like <a href="?p=2"> #}
|
||||
{% include "wagtailadmin/shared/pagination_nav.html" with items=users %}
|
||||
{% else %}
|
||||
{% if is_searching %}
|
||||
<h2 role="alert">{% blocktrans %}Sorry, no users match "<em>{{ query_string }}</em>"{% endblocktrans %}</h2>
|
||||
|
|
Ładowanie…
Reference in New Issue