fix: get_doc references

This commit is contained in:
Jannat Patel
2022-02-10 09:53:08 +05:30
parent e17637d27b
commit fd5b7976e7
21 changed files with 334 additions and 286 deletions

View File

@@ -15,7 +15,7 @@ def get_context(context):
def get_courses():
courses = frappe.get_all("LMS Course",
filters={"is_published": True},
fields=["name", "upcoming", "title", "image"])
fields=["name", "upcoming", "title", "image", "enable_certification"])
live_courses, upcoming_courses = [], []
for course in courses: