diff --git a/app/apps/monthly_overview/views.py b/app/apps/monthly_overview/views.py index 73933e1..cc68231 100644 --- a/app/apps/monthly_overview/views.py +++ b/app/apps/monthly_overview/views.py @@ -84,9 +84,12 @@ def transactions_list(request, month: int, year: int): "account__group", "category", "tags", + "tags__id", "account__exchange_currency", "account__currency", "installment_plan", + "entities__name", + "entities__id", ) ) diff --git a/app/apps/transactions/views/transactions.py b/app/apps/transactions/views/transactions.py index 23c9ec8..b186f41 100644 --- a/app/apps/transactions/views/transactions.py +++ b/app/apps/transactions/views/transactions.py @@ -336,9 +336,12 @@ def transaction_all_list(request): "account__group", "category", "tags", + "tags__id", "account__exchange_currency", "account__currency", "installment_plan", + "entities__name", + "entities__id", ).all() transactions = default_order(transactions, order=order)