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

Add question bank filter - Modified time

XMLWordPrintable

    • MOODLE_500_STABLE
    • MOODLE_500_STABLE
    • MDL-83862_main
    • Hide
      1. Create a course
      2. On the course, navigate to More > Question banks and create a default question bank if none exists.
      3. Go to the question bank.
      4. Create two questions, "question one" and "question two".
      5. Wait at least one minute, then edit and save "question two" so each question has a different time in the "Modified" column.
      6. Click "Add condition" and select "Time modified"
        • Confirm that the filter defaults to "Before" with the current date and time according to the user's timezone.
      7. Change the time to be no later than the modified time of "question two" and click "Apply filters".
        • Confirm that only the "question one" is displayed.
      8. Change the filter mode from "Before" to "After"
        • Confirm that the datetime selector shows 1 week ago at midnight.
      9. Change the time to be no earlier than the modified time of "question one" and click "Apply filters"
        • Confirm that only "question two" is displayed.
      10. Change the filter mode from "After" to "Between"
      11. Change the first datetime to be before the modified time of "question one" and click "Apply filters"
        • Confirm that only the "question one" is displayed.
      12. Change the second datetime to be before the first datetime and click "Apply filters"
        • Confirm that an error is display indicating that an invalid filter value was entered.
      Show
      Create a course On the course, navigate to More > Question banks and create a default question bank if none exists. Go to the question bank. Create two questions, "question one" and "question two". Wait at least one minute, then edit and save "question two" so each question has a different time in the "Modified" column. Click "Add condition" and select "Time modified" Confirm that the filter defaults to "Before" with the current date and time according to the user's timezone. Change the time to be no later than the modified time of "question two" and click "Apply filters". Confirm that only the "question one" is displayed. Change the filter mode from "Before" to "After" Confirm that the datetime selector shows 1 week ago at midnight. Change the time to be no earlier than the modified time of "question one" and click "Apply filters" Confirm that only "question two" is displayed. Change the filter mode from "After" to "Between" Change the first datetime to be before the modified time of "question one" and click "Apply filters" Confirm that only the "question one" is displayed. Change the second datetime to be before the first datetime and click "Apply filters" Confirm that an error is display indicating that an invalid filter value was entered.
    • Hide

      Code verified against automated checks.

      Checked MDL-83862 using repository: https://github.com/marxjohnson/moodle.git

      More information about this report

      Built on: Tue Jan 7 03:00:00 PM UTC 2025

      Show
      Code verified against automated checks. Checked MDL-83862 using repository: https://github.com/marxjohnson/moodle.git main (0 errors / 0 warnings) [branch: MDL-83862_main | CI Job ] More information about this report Built on: Tue Jan 7 03:00:00 PM UTC 2025
    • Show
      Launching automatic jobs for branch MDL-83862 _main https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/18089/ PHPUnit (sqlsrv / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61810/ Behat (NonJS - boost and classic / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61811/ Behat (Firefox - boost / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61812/ Behat (Firefox - classic / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61813/ App tests (stable app version) / complete) Built on: Tue Jan 28 09:59:13 AM UTC 2025

      Add a new filter for the Modified time column.

      We need a date and time selector, ideally we should be able to specify before, after or between a time/pair of times.

            marxjohnson Mark Johnson
            marxjohnson Mark Johnson
            Simon Adams Simon Adams
            Tim Hunt Tim Hunt
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.