marxjohnson / moodle-block_quickcourselist

Moodle block providing a quick method of searching course pages
http://moodle.org/mod/data/view.php?d=13&rid=2334
6 stars 7 forks source link

Show only courses that you are enrolled/can enrol in #10

Open r0n58a1d opened 8 years ago

r0n58a1d commented 8 years ago

Love this plugin, but still like to see some improvement. I have a number of courses in a hidden category that are only offered to a limited group of users (enrolled by cohort sync). Other users do not see these courses and cannot access these via the catalog either. When I use this block on the front page, however, and do a search all courses (incl. those in hidden folders) are displayed, despite the enrolment methods. I was wondering if it is possible to only show search results of courses that you, as a logged in user, are enrolled in or have the possibility to enrol yourself.