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

Generate an event for each search query using global search

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Unit tests should pass
      2. Setup global search and index your site contents
      3. Search for something that have more than 10 results (I would try with a or e)
      4. Click on the second page of the results
      5. Go to site admin -> reports -> logs and check today's logs
      6. You should see a few "Search results viewed" logs, one for each results page you checked
      7. Follow the "Search results viewed" link
      8. You SHOULD see the same results than above
      9. Try different search filters and check site admin -> reports ->logs to see if the generated URLs match the filters you set (note that search areas and courseid filters will not be stored as part of the event because of MDL-33188
      Show
      Unit tests should pass Setup global search and index your site contents Search for something that have more than 10 results (I would try with a or e ) Click on the second page of the results Go to site admin -> reports -> logs and check today's logs You should see a few "Search results viewed" logs, one for each results page you checked Follow the "Search results viewed" link You SHOULD see the same results than above Try different search filters and check site admin -> reports ->logs to see if the generated URLs match the filters you set (note that search areas and courseid filters will not be stored as part of the event because of MDL-33188
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-55191_master

      Description

      We don't generate an event when users use global search and we should.

      I'm flagging this as a bug although I'm not sure if it can land in stables.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/Dec/16