Skip to content
  • Neill Magill's avatar
    MDL-71115 search: Only replace course search when equivalent · e86bc492
    Neill Magill authored
    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.
    e86bc492