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

Add filtering to the config changes admin report

    XMLWordPrintable

    Details

    • Database:
      MySQL
    • Testing Instructions:
      Hide

      Testing:

      1. Login using an admin account
      2. In site admin, search for auth_instructions
      3. Update the auth_instructions field and press Save changes
      4. Navigate to Reports > Config changes in site administration
      5. Confirm change from step 3. is reported (existing functionality still works)
      6. In the report Search form enter "auth_instructions" in the Setting field and press Search button
      7. Confirm only changes related to setting updated in step 3. are listed in report
      8. Create a second account (user2) and make them a site admin
      9. Login with user2
      10. Repeat steps 2 - 7 above
      11. In the report Search form enter "XXX" (where XXX is the lastname of the user created in step 8) in the User field and press Search button
      12. Confirm only changes make by user2 are listed in report
      13. In the report Search form enter part of the text you used in step 3 in the Value field and press Search button
      14. Confirm there are only two rows listed in report:
        1. One containing your change in step 3 in the New value column
        2. One containing user2's change in step 10 in the Original value column
      15. Determine a date between the time your site was installed and now
      16. In the report Search form enable the Date from field, select this date and press Search button
      17. Confirm only config changes made since that date are listed
      18. Disable the Date from field
      19. In the report Search form enable the Date to field, select the date from step 15 and press Search button
      20. Confirm only config changes made before that date are listed
      Show
      Testing: Login using an admin account In site admin, search for auth_instructions Update the auth_instructions field and press Save changes Navigate to Reports > Config changes in site administration Confirm change from step 3. is reported (existing functionality still works) In the report Search form enter " auth_instructions " in the Setting field and press Search button Confirm only changes related to setting updated in step 3. are listed in report Create a second account ( user2 ) and make them a site admin Login with user2 Repeat steps 2 - 7 above In the report Search form enter " XXX " (where XXX is the lastname of the user created in step 8) in the User field and press Search button Confirm only changes make by user2 are listed in report In the report Search form enter part of the text you used in step 3 in the Value field and press Search button Confirm there are only two rows listed in report: One containing your change in step 3 in the New value column One containing user2 's change in step 10 in the Original value column Determine a date between the time your site was installed and now In the report Search form enable the Date from field, select this date and press Search button Confirm only config changes made since that date are listed Disable the Date from field In the report Search form enable the Date to field, select the date from step 15 and press Search button Confirm only config changes made before that date are listed
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:

      Description

      The "Config changes" admin report interface does not has filters, making hard to find info, for example specific changes or specific users.

      Possible solution:

      • add some filtering options, such as date, value, and users.

        Attachments

        1. Screenshot from 2019-10-21 08-14-04.png
          Screenshot from 2019-10-21 08-14-04.png
          95 kB
        2. Screenshot from 2019-10-21 08-13-10.png
          Screenshot from 2019-10-21 08-13-10.png
          74 kB
        3. Screenshot from 2019-09-02 13-22-43.png
          Screenshot from 2019-09-02 13-22-43.png
          16 kB
        4. Screenshot_2.png
          Screenshot_2.png
          245 kB
        5. Screenshot_1.png
          Screenshot_1.png
          111 kB
        6. MDL-29693.png
          MDL-29693.png
          171 kB
        7. configchanges_proposal.png
          configchanges_proposal.png
          107 kB
        8. configchanges_currentpatch.png
          configchanges_currentpatch.png
          121 kB

          Issue Links

            Activity

              People

              Assignee:
              pholden Paul Holden
              Reporter:
              andreabix Andrea Bicciolo
              Peer reviewer:
              Peter Dias
              Integrator:
              Sara Arjona (@sarjona)
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Jun/20

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours
                  5h