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

Add "No tags" and "Doesn't contain tag" operators to report tags filter

    XMLWordPrintable

Details

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • Hide
      1. Log in as admin
      2. Edit your own profile
      3. Set List of interests to:
        • Cat
        • Dog
      4. Save
      5. Create a new user (User 2), set List of interests to:
        • Dog
      6. Create another new user (User 3) with no List of interests set
      7. Navigate to Reports in user menu
      8. Create new report from Users report source
        • Uncheck Include default setup
      9. In report editor, add the following columns:
        • User > Full name
        • Interests > Tag name
      10. Set Interests column aggregation to Comma separated values
      11. Add the following conditions:
        • Interests > Tag name
      12. Set condition value to Is empty and apply
      13. Confirm only User 2 is listed in the report
      14. Set condition value to Is not equal to: Dog and apply
      15. Confirm Admin User is listed with Cat interest only
      16. Confirm User 1 is not listed
      17. Confirm User 2 is listed
      Show
      Log in as admin Edit your own profile Set List of interests to: Cat Dog Save Create a new user ( User 2 ), set List of interests to: Dog Create another new user ( User 3 ) with no List of interests set Navigate to Reports in user menu Create new report from Users report source Uncheck Include default setup In report editor, add the following columns: User > Full name Interests > Tag name Set Interests column aggregation to Comma separated values Add the following conditions: Interests > Tag name Set condition value to Is empty and apply Confirm only User 2 is listed in the report Set condition value to Is not equal to: Dog and apply Confirm Admin User is listed with Cat interest only Confirm User 1 is not listed Confirm User 2 is listed

    Description

      Following on from MDL-75245, we can improve the existing tags filter to add operators to find elements that are not tagged, or those that do not have a specific tag

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              pholden Paul Holden
              Carlos Castillo Carlos Castillo
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              John Edward Pedregosa John Edward Pedregosa
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 50 minutes
                  3h 50m