fix: course card descriptions

This commit is contained in:
Jannat Patel
2023-07-26 11:09:35 +05:30
parent 60aec7c801
commit a218257952
3 changed files with 14 additions and 2 deletions

View File

@@ -533,7 +533,16 @@ def get_courses_under_review():
return frappe.get_all(
"LMS Course",
{"status": "Under Review"},
["name", "upcoming", "title", "image", "enable_certification", "status", "published"],
[
"name",
"upcoming",
"title",
"short_introduction",
"image",
"enable_certification",
"status",
"published",
],
)