mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-24 17:48:41 +02:00
Merge pull request #110
fix: 'tags__id' does not resolve to an item that supports prefetching
This commit is contained in:
@@ -84,12 +84,10 @@ def transactions_list(request, month: int, year: int):
|
|||||||
"account__group",
|
"account__group",
|
||||||
"category",
|
"category",
|
||||||
"tags",
|
"tags",
|
||||||
"tags__id",
|
|
||||||
"account__exchange_currency",
|
"account__exchange_currency",
|
||||||
"account__currency",
|
"account__currency",
|
||||||
"installment_plan",
|
"installment_plan",
|
||||||
"entities__name",
|
"entities",
|
||||||
"entities__id",
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -336,12 +336,10 @@ def transaction_all_list(request):
|
|||||||
"account__group",
|
"account__group",
|
||||||
"category",
|
"category",
|
||||||
"tags",
|
"tags",
|
||||||
"tags__id",
|
|
||||||
"account__exchange_currency",
|
"account__exchange_currency",
|
||||||
"account__currency",
|
"account__currency",
|
||||||
"installment_plan",
|
"installment_plan",
|
||||||
"entities__name",
|
"entities",
|
||||||
"entities__id",
|
|
||||||
).all()
|
).all()
|
||||||
|
|
||||||
transactions = default_order(transactions, order=order)
|
transactions = default_order(transactions, order=order)
|
||||||
|
|||||||
Reference in New Issue
Block a user