mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
e86bc4921e
Not all global search configurations offer the same results as the default course search does. The default course search will return courses that the user can see the details of even if they can see them via a category, even if they are not enrolled and cannot enrol themselves on it. The equivalent global search configuration is: * Global search is enabled * The course indexing is enabled * All the name and summary of all courses are included in the results This patch will only let global search replace the default course search when those criteria are met. It will also display on the global search configuration page if global search will replace the legacy course search.