Moodle plugins directory: oohoo - Course search | Moodle.org
oohoo - Course search
Blocks ::: block_course_search
Maintained by Nicolas Bretin, Patrick Thibaudeau
OOHOO Course Search does a complete search of all content in a course including:
- Section Name and description
- All activities (including all new plugins that you setup in the future) based on the "name", "intro" and "content" fields
The result appears as a list of links.
Latest release:
104 sites
33 downloads
12 fans
Current versions available: 1
OOHOO Course Search does a complete search of all content in a course including:
- Section Name and description
- All activities (including all new plugins that you setup in the future) based on the "name", "intro" and "content" fields
The result appears as a list of links.
Useful links
Contributors
Nicolas Bretin (Lead maintainer)
Patrick Thibaudeau: Maintainer
Please login to view contributors details and/or to contact them
MDL-31989 is the issue where Global Search is being re-written. it wasn't completed nor ready for 2.4.
This plugin isn't a site wide search although it does seem to allow other plugins to be searched via a callback.
Debug info: SQLState: 42000
Error Code: 4145
Message: [Microsoft][SQL Server Native Client 11.0][SQL Server]An expression of non-boolean type specified in a context where a condition is expected, near 'OR'.
SELECT * FROM mdl_assign WHERE course='1' AND (false OR name LIKE N'%axa%' OR intro LIKE N'%axa%')
[array (
0 => 1,
1 => '%axa%',
2 => '%axa%',
)]
Error code: dmlreadexception
Stack trace:
•line 426 of \lib\dml\moodle_database.php: dml_read_exception thrown
•line 260 of \lib\dml\sqlsrv_native_moodle_database.php: call to moodle_database->query_end()
•line 367 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->query_end()
•line 779 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->do_query()
•line 827 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->get_recordset_sql()
•line 72 of \blocks\course_search\lib.php: call to sqlsrv_native_moodle_database->get_records_sql()
•line 62 of \blocks\course_search\results.php: call to block_course_search_search_module()
Thanks.
Can this be used as a search from course text? E.g. if I want to ppl to be able to do search from course start page and the results will be from within that course.
Thanks in advance.