fix: course form permission issue

This commit is contained in:
Jannat Patel
2026-02-19 11:46:56 +05:30
parent ba395fe982
commit e5f0d55ff0
2 changed files with 1 additions and 3 deletions

View File

@@ -752,8 +752,7 @@ def get_courses(filters: dict = None, start: int = 0) -> list:
start=start,
page_length=30,
)
if show_featured:
if show_featured and start == 0:
courses = get_featured_courses(filters, or_filters, fields) + courses
courses = get_enrollment_details(courses)