gocodebox / gocodebox/lifterlms
a course marked as "Private" is excluded from student's enrolled courses on reporting screens
Open
good first issue
hacktoberfest
help wanted
Type: Bug
- Dominant language
- PHP
- Stars
- 212
- Forks
- 140
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 19
Description
Mark course as private
navigate to Students -> Select Student -> Courses and the course will disappear from the student's courses list
Uses `LLMS_Student->get_courses()` at https://github.com/gocodebox/lifterlms/blob/master/includes/admin/reporting/tables/llms.table.student.courses.php#L159
This function queries for ONLY published courses.
`get_enrollments()` needs an additional `post_status` argument at https://github.com/gocodebox/lifterlms/blob/master/includes/models/model.llms.student.php#L390
Contributor guide
Assessment
This issue has not been assessed yet.