Skip to content

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

Open
spinozarabel wants to merge 3 commits intoremotelearner:MOODLE_38_STABLEfrom
spinozarabel:spzrbl_MOODLE_38_STABLE
Open

added new config setting, added language strings, changed lib.php to …#40
spinozarabel wants to merge 3 commits intoremotelearner:MOODLE_38_STABLEfrom
spinozarabel:spzrbl_MOODLE_38_STABLE

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.

1 participant