Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-71115

Admins should be able to decide to use Global search on front page course search

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Prerequisites

      1. Login as admin
      2. Navigate to Site administration > Front page > Front page settings
      3. Add Course search box to Front page items when logged in

      Default search

      1. Login as admin
      2. Navigate to Site administration > Advanced features
      3. Set Enable global search to Off
      4. Save the settings
      5. Navigate to Site home
      6. Type something into Search courses and press Enter
      7. Verify that the page url contains /course/search.php

      Global search on, course search replaced

      1. Login as admin
      2. Navigate to Site administration > Plugins > Search > Manage global search
      3. Set the following settings:
        • Select search engine: Simple search
        • Replace course search: On
      4. Save the settings
      5. Navigate to Site administration > Advanced features
      6. Set Enable global search to On
      7. Save the settings
      8. Navigate to Site home
      9. Type something into Search courses and press Enter
      10. Verify that the page url contains /search/index.php

      Global search on, course search not replaced

      1. Login as admin
      2. Navigate to Site administration > Plugins > Search > Manage global search
      3. Set the following settings:
        • Select search engine: Simple search
        • Replace course search: Off
      4. Save the settings
      5. Navigate to Site administration > Advanced features
      6. Set Enable global search to On
      7. Save the settings
      8. Navigate to Site home
      9. Type something into Search courses and press Enter
      10. Verify that the page url contains /course/search.php
      Show
      Prerequisites Login as admin Navigate to Site administration > Front page > Front page settings Add Course search box to Front page items when logged in Default search Login as admin Navigate to Site administration > Advanced features Set Enable global search to Off Save the settings Navigate to Site home Type something into Search courses and press Enter Verify that the page url contains /course/search.php Global search on, course search replaced Login as admin Navigate to Site administration > Plugins > Search > Manage global search Set the following settings: Select search engine: Simple search Replace course search: On Save the settings Navigate to Site administration > Advanced features Set Enable global search to On Save the settings Navigate to Site home Type something into Search courses and press Enter Verify that the page url contains /search/index.php Global search on, course search not replaced Login as admin Navigate to Site administration > Plugins > Search > Manage global search Set the following settings: Select search engine: Simple search Replace course search: Off Save the settings Navigate to Site administration > Advanced features Set Enable global search to On Save the settings Navigate to Site home Type something into Search courses and press Enter Verify that the page url contains /course/search.php
    • Affected Branches:
      MOODLE_310_STABLE
    • Pull from Repository:
    • Pull 3.11 Branch:
      MDL-71115-m311
    • Pull Master Branch:

      Description

      MDL-60916 changed Moodle so that course search was replaced by global search when it is enabled.

      However global search may not always be a suitable replacement for the course search functionality, for example when:

      • Courses are not indexed by Global search
      • Only courses the users are enrolled are returned by global search (the results are then not equivalent)
      • There may also be differences in the results produced by the two search methods

      The site administrator should therefor be able to decide if global search or the older course search is most suitable for their site when using the front page search button.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nmagill Neill Magill
              Reporter:
              nmagill Neill Magill
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: