Added the navigation links for pagination.
This commit is contained in:
@ -34,6 +34,8 @@ First written: 2020/7/1
|
||||
<p>{{ request.resolver_match.app_name }}</p>
|
||||
|
||||
{% if records %}
|
||||
{% include "mia_core/pagination.html" %}
|
||||
|
||||
{# The table for large screens #}
|
||||
<table class="table table-striped table-hover d-none d-md-table general-journal-table">
|
||||
<thead>
|
||||
|
@ -201,5 +201,5 @@ ORDER BY
|
||||
self.kwargs["subject_code"] + "%",
|
||||
self.kwargs["subject_code"] + "%"])
|
||||
self.pagination = Pagination(
|
||||
records, self.page_no, self.page_size, True)
|
||||
self.request, records, self.page_no, self.page_size, True)
|
||||
return self.pagination.records
|
||||
|
Reference in New Issue
Block a user