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

De-couple the participants filter

    XMLWordPrintable

Details

    • MOODLE_401_STABLE
    • master_MDL-72509-decouple-participant-filter
    • Hide

      Instance setup

      • Fresh install an instance using this repo or
      • Upgrade the current instance using this repo

      Test scenario

      • Login to the site as a site admin
      • Create a course
      • Create a couple of users with different data
      • Navigate to the course > participants
      • Enroll all the created users
      • Use keyword as a matching condition
      • Verify that the condition returns the correct value
      • Use roles as the matching condition
      • Verify that the condition returns the correct value
      • Use enrollment method as the matching condition
      • Verify that the condition returns the correct value
      • Change the match condition to All
      • Use keyword as a matching condition
      • Verify that the condition returns the correct value
      • Use roles as the matching condition
      • Verify that the condition returns the correct value
      • Use enrollment method as the matching condition
      • Verify that the condition returns the correct value

       

      Show
      Instance setup Fresh install an instance using this repo or Upgrade the current instance using this repo Test scenario Login to the site as a site admin Create a course Create a couple of users with different data Navigate to the course > participants Enroll all the created users Use keyword as a matching condition Verify that the condition returns the correct value Use roles as the matching condition Verify that the condition returns the correct value Use enrollment method as the matching condition Verify that the condition returns the correct value Change the match condition to All Use keyword as a matching condition Verify that the condition returns the correct value Use roles as the matching condition Verify that the condition returns the correct value Use enrollment method as the matching condition Verify that the condition returns the correct value  

    Description

      Participants filter is currently coupled with the core_user, where it helps to filter the users using different filtering criteria. This feature is widely helpful and has the potential to be used in different areas of the core.

      To make this feature extendable and usable in different locations in core or community plugins, this tracker decouples this feature from the core user and moves it to the core to make it an extendible API.

      This API will be used in the qbank as a proof of concept.

       

      Attachments

        Issue Links

          Activity

            People

              tomotsuyuki Tomo Tsuyuki
              safats Safat Shahin
              Tim Hunt Tim Hunt
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: