order_by for gantt error fix (#13752)

This commit is contained in:
Zarrar 2018-04-23 13:22:03 +05:30 committed by Nabin Hait
parent 828f5ab29e
commit 68a7ee22f2
2 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,7 @@ frappe.views.calendar["Course Schedule"] = {
"allDay": "allDay" "allDay": "allDay"
}, },
gantt: false, gantt: false,
order_by: "from_time", order_by: "schedule_date",
filters: [ filters: [
{ {
"fieldtype": "Link", "fieldtype": "Link",

View File

@ -8,6 +8,7 @@ frappe.views.calendar["Patient Appointment"] = {
"allDay": "allDay", "allDay": "allDay",
"eventColor": "color" "eventColor": "color"
}, },
order_by: "appointment_date",
gantt: true, gantt: true,
get_events_method: "erpnext.healthcare.doctype.patient_appointment.patient_appointment.get_events", get_events_method: "erpnext.healthcare.doctype.patient_appointment.patient_appointment.get_events",
filters: [ filters: [