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

MyOverview Filter and search don't work together as expected

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.0.2
    • None
    • Blocks
    • MOODLE_400_STABLE
    • Hide
      1. Create course with future end date (C1) and title "Search course 1"
      2. Create course with past end date (C2) and title "Search course 2"
      3. Enrol yourself on both courses
      4. Go to My Courses page
      5. Select "In progress" from filter
        1. Expected: C1 is displayed
        2. Expected: C2 is not displayed
      6. Without changing the filter, type "Search" in search box
        1. Actual result: C1 and C2 are both displayed
        2. Expected result: C1

      Test can be extended to other filters, including the custom field.

      Show
      Create course with future end date (C1) and title "Search course 1" Create course with past end date (C2) and title "Search course 2" Enrol yourself on both courses Go to My Courses page Select "In progress" from filter Expected: C1 is displayed Expected: C2 is not displayed Without changing the filter, type "Search" in search box Actual result: C1 and C2 are both displayed Expected result: C1 Test can be extended to other filters, including the custom field.

    Description

      I'm experimenting with the search box on the MyOverview block. When you select a filter e.g. "Past" the courses displayed are in the past. However, if you then type something in the search, the results refresh from all available courses. The filter hasn't changed.

      I would have expected the Filter and the Search to operate as an AND. Filter and Query.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sharpchi Mark Sharp
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h