Fix #1915 (more than 10 books at a time are displayed in books table)

This commit is contained in:
Ozzie Isaacs 2021-05-28 18:48:46 +02:00
parent e9552fedef
commit 8c0aa79f78
35 changed files with 6 additions and 3 deletions

View File

@ -136,10 +136,11 @@ $(function() {
$("#books-table").bootstrapTable({
sidePagination: "server",
pageList: "[10, 25, 50, 100]",
queryParams: queryParams,
pagination: true,
paginationLoop: false,
paginationDetailHAlign: " hidden",
paginationDetailHAlign: "right",
paginationHAlign: "left",
idField: "id",
uniqueId: "id",

View File

@ -97,5 +97,9 @@
<script src="{{ url_for('static', filename='js/libs/bootstrap-table/bootstrap-table.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/libs/bootstrap-table/bootstrap-table-editable.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/libs/bootstrap-table/bootstrap-editable.min.js') }}"></script>
{% if not g.user.locale == 'en' %}
<script src="{{ url_for('static', filename='js/libs/bootstrap-table/locale/bootstrap-table-' + g.user.locale + '.min.js') }}" charset="UTF-8"></script>
{% endif %}
<script src="{{ url_for('static', filename='js/table.js') }}"></script>
{% endblock %}

View File

@ -21,8 +21,6 @@
</tr>
</thead>
</table>
<!--div class="btn btn-default" id="tasks_delete">{{_('Delete finished tasks')}}</div>
<div class="btn btn-default" id="tasks_hide">{{_('Hide all tasks')}}</div-->
</div>
{% endblock %}
{% block js %}