moodle/search/classes
Neill Magill e86bc4921e 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.
2021-11-10 09:11:19 +00:00
..
output MDL-60917 core_search: add top result section 2021-10-12 14:49:36 +11:00
privacy MDL-62217 search: Privacy providers 2018-05-09 10:56:02 +02:00
area_category.php MDL-60913 search: add search area categories 2019-01-23 10:28:43 +11:00
base.php MDL-62869 search: implement searching for all courses 2019-03-01 07:18:37 +11:00
base_activity.php MDL-55356 core_search: New area API get_document_recordset 2017-10-11 17:17:08 +01:00
base_block.php MDL-60913 search: add search area categories 2019-01-23 10:28:43 +11:00
base_mod.php MDL-60913 search: add search area categories 2019-01-23 10:28:43 +11:00
document.php Merge branch 'MDL-62899-search-icons-master' of https://github.com/dmitriim/moodle 2018-08-08 13:17:34 +08:00
document_factory.php
document_icon.php MDL-62899 search: add document icons 2018-08-07 17:40:57 +10:00
engine.php MDL-71099 Lib: Move new user_fields class from core to core_user 2021-03-25 13:47:23 +00:00
engine_exception.php
external.php MDL-70979 search: validate external user search parameters. 2021-04-22 10:22:35 +01:00
manager.php MDL-71115 search: Only replace course search when equivalent 2021-11-10 09:11:19 +00:00
skip_future_documents_iterator.php MDL-60720 core_search: Indexing halts on failed get_document 2017-11-07 16:36:37 +00:00