Select Moodle version:

Blocks: oohoo - Course search

block_course_search
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.
Maintained by: Picture of Nicolas Bretin Nicolas Bretin, Picture of Patrick Thibaudeau 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.

Screenshots

screenshot
screenshot

Contributors

Picture of Nicolas Bretin
Nicolas Bretin (Lead maintainer)
Picture of Patrick Thibaudeau
Patrick Thibaudeau: Maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Steve Dennis
    Tue, Dec 11, 2012, 7:50 PM
    hi guys, can this be used as global site search or is this something else? The global search was removed in a previous version and for all I can find it has not been replaced. Do you have any suggestions for decent global search, if one exists, as it says here on moodle.org that the global search was to be rewritten for version 2.4 but there is no mention of it in the release notes. Running 2.2 by the way. cheers. Steve
  • MD shot of me from his iphone4
    Wed, Dec 12, 2012, 3:12 PM
    Hi Steve,
    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.
  • Picture of Patrick Thibaudeau
    Thu, Dec 13, 2012, 1:48 AM
    Aparup is right. This is not a global site search but rather a course search. It can search into any modules, even third party modules, as long as the third party modules follow Moodle coding guidlines which have a name filed and intro or content field.
  • Picture of Bonnie Mioduchoski
    Sat, Jan 11, 2014, 11:53 PM
    Hi! I am testing this out on our test server. I really like the concept. Is there a way to have it be more robust in what it searches - I'd love it to search forum content, content within an activity...It seems to just bring up main search content and I think this would be ultimately frustrating for students...please advise if there is a way to tweak it.
  • Picture of Boaz Neeman_Golan
    Thu, Jan 16, 2014, 9:03 PM
    it works good with version 2.6.0, I tested it !!!
  • Picture of vinoth kannan
    Wed, Feb 19, 2014, 2:47 PM
    Hi when i installed this plugin. I get this error: We use SQL server 2008
    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()
Please login to post comments