fix: show tasks in project order by due date and status
This commit is contained in:
parent
b90fc7fc0d
commit
2a8c463079
@ -65,7 +65,7 @@ class Project(Document):
|
|||||||
'name': ("not in", self.deleted_task_list)
|
'name': ("not in", self.deleted_task_list)
|
||||||
})
|
})
|
||||||
|
|
||||||
return frappe.get_all("Task", "*", filters, order_by="exp_start_date asc")
|
return frappe.get_all("Task", "*", filters, order_by="exp_start_date asc, status asc")
|
||||||
|
|
||||||
def validate(self):
|
def validate(self):
|
||||||
self.validate_weights()
|
self.validate_weights()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user