ui: fix another paginator

milkdown
undefined 2 years ago
parent ff7db46e2d
commit e4b916037c

@ -1,6 +1,6 @@
{ {
"name": "@hydrooj/ui-default", "name": "@hydrooj/ui-default",
"version": "4.37.5", "version": "4.37.6",
"author": "undefined <i@undefined.moe>", "author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"main": "hydro.js", "main": "hydro.js",

@ -6,7 +6,7 @@
{% if not pdocs.length %} {% if not pdocs.length %}
{{ nothing.render('Sorry, there is no problem in the problem set') }} {{ nothing.render('Sorry, there is no problem in the problem set') }}
{% else %} {% else %}
{{ paginator.render(page, ppcount, position='top', add_qs=qs) }} {{ paginator.render(page, ppcount, position='top', add_qs=('q=' + qs if qs else '')) }}
<table class="data-table hide-problem-tag"> <table class="data-table hide-problem-tag">
<colgroup> <colgroup>
<col class="col--checkbox display-mode-hide"> <col class="col--checkbox display-mode-hide">

Loading…
Cancel
Save