-
Bug
-
Resolution: Fixed
-
Minor
-
3.5
-
MOODLE_35_STABLE
-
MOODLE_35_STABLE
-
master_
MDL-62705_results_order_no_context -
As of 3.5 a search plugin can define the result orders it supports. The built in Solr search plugin defines relevance and location, however, there can be others.
The default result order is relevance.
However, when a search plugin defines multiple sort orders such as modified date and the search is conducted without a context (no context query param in the URL), the code to load the available sort orders from the enabled search backend is never called.