Skip to content

Commit b17c36e

Browse files
committed
Order transactionx by date
1 parent 633852e commit b17c36e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thebook/bookkeeping/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def _get_cash_book_transactions_context(cash_book, *, year=None, month=None):
9696

9797
return {
9898
"cash_book": cash_book.with_summary(year=year, month=month),
99-
"transactions": transactions,
99+
"transactions": transactions.order_by("date"),
100100
"year": year,
101101
"month": month,
102102
"previous_period": previous_period,

0 commit comments

Comments
 (0)