Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added new config setting, added language strings, changed lib.php to … #40

Open
wants to merge 3 commits into
base: MOODLE_38_STABLE
Choose a base branch
from

Conversation

spinozarabel
Copy link

…include hidden courses based on setting.
The MOODLE_38_STABLE branch only looks at courses that are set to be visible.
In our institution, to prevent children from being exposed to courses that they are not enrolled in, all courses are set to be hidden.
The existing version of the plugin therefore misses all of the relevant courses and shows nothing left to be graded even when ungraded items are present in these hidden courses.

In my fork I created a new admin setting that includes hidden courses, defaulting to 0 which falls back to performance of old.
When admin sets the setting by checking the box, then a small code change in the lib.php where courses are searched for now will include hidden courses also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant