[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

@@ -214,7 +214,7 @@ def get_timeline_data(doctype, name):
and docstatus < 2
group by date(from_time)''', name))
def get_project_list(doctype, txt, filters, limit_start, limit_page_length=20):
def get_project_list(doctype, txt, filters, limit_start, limit_page_length=20, order_by="modified"):
return frappe.db.sql('''select distinct project.*
from tabProject project, `tabProject User` project_user
where