Revised the journal, the ledger, the income and expenses log, and the search result to show the last page first as the default upon pagination.
This commit is contained in:
@ -199,7 +199,7 @@ class Search(BaseReport):
|
||||
:return: The report as HTML.
|
||||
"""
|
||||
pagination: Pagination[JournalEntry] \
|
||||
= Pagination[JournalEntry](self.__entries)
|
||||
= Pagination[JournalEntry](self.__entries, is_reversed=True)
|
||||
params: PageParams = PageParams(pagination=pagination,
|
||||
entries=pagination.list)
|
||||
return render_template("accounting/report/search.html",
|
||||
|
Reference in New Issue
Block a user