mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-14 04:28:45 +00:00
* fix: unwired order_by argument
* lol on how it was updated from modified in both the places (version 15), but wasn't fixed
(cherry picked from commit 2c1077d332)
# Conflicts:
# erpnext/controllers/website_list_for_contact.py
* fix: merge conflicts
* fix: sort by creation only
---------
Co-authored-by: Hussain Nagaria <hussainbhaitech@gmail.com>
Co-authored-by: Md Hussain Nagaria <34810212+NagariaHussain@users.noreply.github.com>
This commit is contained in:
@@ -69,7 +69,7 @@ def get_transaction_list(
|
|||||||
filters=None,
|
filters=None,
|
||||||
limit_start=0,
|
limit_start=0,
|
||||||
limit_page_length=20,
|
limit_page_length=20,
|
||||||
order_by="modified",
|
order_by="creation desc",
|
||||||
custom=False,
|
custom=False,
|
||||||
):
|
):
|
||||||
user = frappe.session.user
|
user = frappe.session.user
|
||||||
@@ -115,7 +115,7 @@ def get_transaction_list(
|
|||||||
limit_page_length,
|
limit_page_length,
|
||||||
fields="name",
|
fields="name",
|
||||||
ignore_permissions=ignore_permissions,
|
ignore_permissions=ignore_permissions,
|
||||||
order_by="modified desc",
|
order_by=order_by,
|
||||||
)
|
)
|
||||||
|
|
||||||
if custom:
|
if custom:
|
||||||
|
|||||||
Reference in New Issue
Block a user