Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.7
-
Fix Version/s: 3.7
-
Component/s: Global search
-
Testing Instructions:
-
Affected Branches:MOODLE_37_STABLE
-
Fixed Branches:MOODLE_37_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-60913-search-tabs-master -
Pull Master Diff URL:
Description
Currently all results delivered by Global Search are displayed on a single page. All result types are mixed in together. It is proposed that the results page is refactored to deliver results in 3 tabs. The default tab will show results from courses, the second will show users that match the search criteria and the third tab will show courses themselves.
See attached wire-frames for examples.
This proposed work will be sponsored by Alexander Bias and Ulm Uni. Catalyst to carry out the work.
Broad tasks that need to implement:
- Update core search renderer and template to support tabs
- Update paged_search method in manager class to handle the three tabbed categories, including returning a complex object of the results
- Update each Solr and Elastic execute_query (and associated methods) to return results split into 3 categories
- Split search results into 3 ordered individual lists for each tab
- Alter export_for_template method in document class to accommodate icons and different results types for each tab.
It should also be noted that the extended aim here is to replace /course/search.php on sites that have Global search enabled and deliver course results via Global search instead. This is to deliver a unified search interface in moodle
Attachments
Issue Links
- blocks
-
MDL-60917 Global Search: Add highest ranked results section
-
- Waiting for peer review
-
-
MDL-60916 Global Search: Replace course search form with global search
-
- Closed
-
- has been marked as being related by
-
MDL-59434 Global Search: implement content aware searching / alternate results sort orders
-
- Closed
-