gocodebox / gocodebox/lifterlms

a course marked as "Private" is excluded from student's enrolled courses on reporting screens

Open
#592 1 comment 0 reactions 1 assignee Claimed by @eri-trabiccolo View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.