Renamed thr LMS doctypes in the portal pages

Issue #7
This commit is contained in:
Anand Chitipothu
2021-03-05 17:12:38 +00:00
parent c661d141c2
commit f96c8c27ed
3 changed files with 8 additions and 9 deletions

View File

@@ -6,7 +6,7 @@ def get_context(context):
def get_courses():
courses = frappe.get_all(
"Community Course",
"LMS Course",
fields=['name', 'title', 'description']
)
return courses
return courses