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

Participants filter retains previous adverb when resetting the filterset

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9
    • Fix Version/s: 3.9
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      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"
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
      MDL-68994-master

      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

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Lyons
              Reporter:
              michaelh Michael Hawkins
              Peer reviewer:
              Michael Hawkins Michael Hawkins
              Integrator:
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Tester:
              Anna Carissa Sadia Anna Carissa Sadia
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                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