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

Add the ability to set the join type between filters in the participants filter

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Open participants page
        1. Confirm that there is only one condition on the page initially
        2. Confirm that there is only one join type (Any/All/None) and that it is in the filter row
        3. Confirm that there is no text between the filter row, and the "Add condition" link
      2. Click add condition
        1. Confirm that a new filter row was added
        2. Confirm that a new filter join dropdown was added above the first filter row
        3. Confirm that there is a text saying "or" between the filter rows
        4. Confirm that there is no text between the filter row, and the "Add condition" link
      3. Change the "Match any" to "Match none"
        1. Confirm that the "or" changes to "and not"
      4. Change the "Match none" to "Match all"
        1. Confirm that the "and not" changes to "and"
      5. Add another condition
        1. Confirm that a new filter row was added
        2. Confirm that the text saying "and" is shown between each of the filter rows
      6. Delete one of the filters (any of themf
        1. Confirm that you can still see the filterset jointype (Match all at the top)
        2. Confirm that the "and" is still shown between the two remaining filter rows
      7. Click the "Clear filters"
        1. Confirm that the filterset jointype has been removed
        2. Confirm that there is only one join type (Any/All/None) and that it is in the filter row
        3. Confirm that there is no text between the filter row, and the "Add condition" link
      Show
      Open participants page Confirm that there is only one condition on the page initially Confirm that there is only one join type (Any/All/None) and that it is in the filter row Confirm that there is no text between the filter row, and the "Add condition" link Click add condition Confirm that a new filter row was added Confirm that a new filter join dropdown was added above the first filter row Confirm that there is a text saying "or" between the filter rows Confirm that there is no text between the filter row, and the "Add condition" link Change the "Match any" to "Match none" Confirm that the "or" changes to "and not" Change the "Match none" to "Match all" Confirm that the "and not" changes to "and" Add another condition Confirm that a new filter row was added Confirm that the text saying "and" is shown between each of the filter rows Delete one of the filters (any of themf Confirm that you can still see the filterset jointype (Match all at the top) Confirm that the "and" is still shown between the two remaining filter rows Click the "Clear filters" Confirm that the filterset jointype has been removed Confirm that there is only one join type (Any/All/None) and that it is in the filter row Confirm that there is no text between the filter row, and the "Add condition" link
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
      MDL-68171-master
    • Story Points:
      2
    • Sprint:
      International 3.9 - Sprint 10

      Description

      Introduce the ability to join filter conditions in a filter set by "All", "Any" and "None" join (match) types.

      As shown in this step of the Invision design.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Nicols
              Reporter:
              michaelh Michael Hawkins
              Peer reviewer:
              Simey Lameze
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 3 hours, 38 minutes
                  3h 38m