[minor] added order by args to get_*_list methods (#8413)

This commit is contained in:
Makarand Bauskar
2017-04-12 13:02:28 +05:30
committed by Rushabh Mehta
parent a57b020620
commit 141c244ece
3 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ def get_list_context(context=None):
"get_list": get_transaction_list
}
def get_transaction_list(doctype, txt=None, filters=None, limit_start=0, limit_page_length=20):
def get_transaction_list(doctype, txt=None, filters=None, limit_start=0, limit_page_length=20, order_by="modified"):
from frappe.www.list import get_list
user = frappe.session.user
key = None