fix: unwired order_by argument

* lol on how it was updated from modified in both the places (version 15), but wasn't fixed
This commit is contained in:
Hussain Nagaria
2025-03-21 11:38:41 +05:30
parent 2fd1d4d3ab
commit 2c1077d332

View File

@@ -69,7 +69,7 @@ def get_transaction_list(
filters=None,
limit_start=0,
limit_page_length=20,
order_by="creation",
order_by="creation desc",
custom=False,
):
user = frappe.session.user
@@ -115,7 +115,7 @@ def get_transaction_list(
limit_page_length,
fields="name",
ignore_permissions=ignore_permissions,
order_by="creation desc",
order_by=order_by,
)
if custom: