Modified program and index view
Co-authored-by: Chinmay Pai <chinmaydpai@gmail.com>
diff --git a/erpnext/www/lms/index.py b/erpnext/www/lms/index.py
index 16772a4..1bba69f 100644
--- a/erpnext/www/lms/index.py
+++ b/erpnext/www/lms/index.py
@@ -1,5 +1,6 @@
from __future__ import unicode_literals
import frappe
+import erpnext.education.utils as utils
def get_context(context):
- context.featured = frappe.get_all('Program', filters={'is_featured': 1}, fields=['program_name', 'program_code', 'description', 'hero_image'])
\ No newline at end of file
+ context.featured = utils.get_featured_programs()
\ No newline at end of file