[AMOS commit] MDL-71115 search: Only replace course search when equivalent Committed into Git: 2021-03-23 09:43 UTC

[AMOS commit] MDL-71115 search: Only replace course search when equivalent Committed into Git: 2021-03-23 09:43 UTC

by AMOS bot -
Number of replies: 0
Author: Neill Magill
MDL-71115 search: Only replace course search when equivalent
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.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=e86bc4921e1f49d5a8b104fe298ea1c6895e799e
http://github.com/moodle/moodle/commit/e86bc4921e1f49d5a8b104fe298ea1c6895e799e

+ 4.0 en [replacefrontsearch,core_admin]