-
Improvement
-
Resolution: Fixed
-
Minor
-
3.10.2, 4.0
-
MOODLE_310_STABLE, MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-60916 changed Moodle so that course search was replaced by global search when it is enabled.
The front page course search will display courses that the user has the capability to view the details of even if they are not enrolled on them or do not have the capability to enrol on them.
However global search may not always be a suitable replacement for the course search functionality, for example when:
- The courses search area is disabled as it will then not return any courses at all
- When Include all visible courses is off and Searchable courses is set to Search within enrolled courses only then only courses the user is enrolled on will be returned.
Global search should probably only replace the front page search when it's functionality is equivalent.
Scenario | Old course search | GS - Courses disabled | GS - Include visible off, Search within enrolled courses only | GS - Search within all courses the user can access | GS - Include visible on |
---|---|---|---|---|---|
User is enrolled on the course | |||||
User not enrolled on course, can access it (as guest, or because of other capabilities) | |||||
User not enrolled on the course, cannot access it, but can see it in a category |
The scenarios where the front page course search are useful in the following scenarios:
- As an administrator I need to find a course I am not enrolled on to assist another user with a query they have had (and I only have a course name) - In this case GS with Courses enabled and Search within all courses the user can access is probably fine)
- As a Student I wish to find an interesting course to self enrol on (In this case Global search would possibly need Include visible on, unless all courses that were self-enrollable also had guest access enabled)