Fix filker reset when going to next page
This commit is contained in:
parent
f8ba0d954f
commit
23c17b8cff
|
@ -415,11 +415,11 @@
|
||||||
<ul class="pagination">
|
<ul class="pagination">
|
||||||
<li class="page-item {% if page == 0 %}disabled{% endif %}">
|
<li class="page-item {% if page == 0 %}disabled{% endif %}">
|
||||||
<a class="page-link"
|
<a class="page-link"
|
||||||
href="{{ url_for('dashboard.index', page=page-1, query=query, sort=sort) }}">Previous</a>
|
href="{{ url_for('dashboard.index', page=page-1, query=query, sort=sort, filter=filter) }}">Previous</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="page-item {% if last_page %}disabled{% endif %}">
|
<li class="page-item {% if last_page %}disabled{% endif %}">
|
||||||
<a class="page-link"
|
<a class="page-link"
|
||||||
href="{{ url_for('dashboard.index', page=page+1, query=query, sort=sort) }}">Next</a>
|
href="{{ url_for('dashboard.index', page=page+1, query=query, sort=sort, filter=filter) }}">Next</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Reference in a new issue