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

Participants filter retains previous adverb when resetting the filterset

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9
    • 3.9
    • Course
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-68994-master
    • Hide
      1. Login as teacher
      2. Navigate to any course
      3. Open the Participants page
      4. Click the "Add condition" link
        1. Confirm that the adverb between the two filters is "OR"
      5. Change the top-level join type from "Any" to "All"
        1. Confirm that the adverb between the two filters is "AND"
      6. Press "Clear filters"
      7. Click the "Add condition" link
        1. Confirm that the adverb between the two filters is "OR"
      Show
      Login as teacher Navigate to any course Open the Participants page Click the "Add condition" link Confirm that the adverb between the two filters is "OR" Change the top-level join type from "Any" to "All" Confirm that the adverb between the two filters is "AND" Press "Clear filters" Click the "Add condition" link Confirm that the adverb between the two filters is "OR"

    Description

      When the filterset is cleared, it resets the overall filterset match type to 'Any', but the adverb also needs to be reset.

      For example:

      1. Open the participants page of a course with users.
      2. Click 'Add condition', so there are 2 filter rows visible. You will correctly see an "OR" between the filter rows.
      3. Change the filterset match type at the top of the form to "Match [All] of the following".
      4. You will now see an "AND" between filter rows.
      5. Click "Clear filters", then press "Add condition" again.
      6. The filterset match type will be "Any", but you will still see "AND" between the 2 filter rows.

      Attachments

        1. MDL-68994.PNG
          14 kB
          Anna Carissa Sadia

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              michaelh Michael Hawkins
              Michael Hawkins Michael Hawkins
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Anna Carissa Sadia Anna Carissa Sadia
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jun/20

                Time Tracking

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