Fix filker reset when going to next page

This commit is contained in:
Son NK 2020-04-27 09:29:27 +02:00
parent f8ba0d954f
commit 23c17b8cff
1 changed files with 2 additions and 2 deletions

View File

@ -415,11 +415,11 @@
<ul class="pagination">
<li class="page-item {% if page == 0 %}disabled{% endif %}">
<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 class="page-item {% if last_page %}disabled{% endif %}">
<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>
</ul>
</nav>