core&ui&elastic: support elastic search and allow search result pagination

This commit is contained in:
undefined committed 2022-03-18 22:48:23 +08:00
1 parent ea6529b523
commit 18fc66ecb7
33 files changed
+411 -244

No files matched your search

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