mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core&ui: fix pagination sort parameter (#1094)
This commit is contained in:
1 parent
88e86d8667
commit
f69d3cb77d
4 files changed
+10
-7
No files matched your search
@@ -6,7 +6,7 @@
|
||||
{% if not pdocs.length %}
|
||||
{{ nothing.render('Sorry, there are no problems in the problem set.') }}
|
||||
{% else %}
|
||||
{{ paginator.render(page, ppcount, position='top', add_qs=('q=' + qs if qs else '')) }}
|
||||
{{ paginator.render(page, ppcount, position='top', add_qs=qs) }}
|
||||
<table class="data-table hide-problem-tag">
|
||||
<colgroup>
|
||||
<col class="col--checkbox display-mode-hide">
|
||||
@@ -63,6 +63,6 @@
|
||||
{%- endfor -%}
|
||||
</tbody>
|
||||
</table>
|
||||
{{ paginator.render(page, ppcount, add_qs=('q=' + qs if qs else '')) }}
|
||||
{{ paginator.render(page, ppcount, add_qs=qs) }}
|
||||
{% endif %}
|
||||
</div>
|
||||
Reference in new issue
Block a user