color field for calendar in course schedule
This commit is contained in:
@@ -189,7 +189,7 @@ def get_course_schedule_events(start, end, filters=None):
|
||||
from frappe.desk.calendar import get_event_conditions
|
||||
conditions = get_event_conditions("Course Schedule", filters)
|
||||
|
||||
data = frappe.db.sql("""select name, course,
|
||||
data = frappe.db.sql("""select name, course, _color,
|
||||
timestamp(schedule_date, from_time) as from_datetime,
|
||||
timestamp(schedule_date, to_time) as to_datetime,
|
||||
room, student_group, 0 as 'allDay'
|
||||
|
||||
Reference in New Issue
Block a user