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

Add question bank filter - Question name

XMLWordPrintable

    • MOODLE_500_STABLE
    • MOODLE_500_STABLE
    • MDL-83860_main
    • Hide

      This covered by behat tests in question/bank/viewquestionname/tests/behat/view_question_name_column.feature

      Manual testing steps:

      1. Go to a question bank page
      2. Create three questions named "First question", "Second question" and "Third question".
        • Confirm that you can see all three questions.
      3. Click "Add filter" and set the new filter to "Question name"
      4. Enter "First" in the filter and click "Apply filters"
        • Confirm that only "First question" is shown.
      5. Add "Second" to the filter as a second keyword and click "Apply filters".
        • Confirm that both "First question" and "Second question" are shown.
      6. Remove "First" and "Second" from the filter.
      7. Add "question" and "d" to the filter as separate keywords, then click "Apply filters"
        • Confirm that all three questions are shown.
      8. Change the filter's "Match" option from "Any" to "All" and click "Apply filters"
        • Confirm that only "Second question" and "Third question" are shown.
      9. Change the filter's "Match" option from "All" to "None" and click "Apply filters"
        • Confirm that none of the questions are shown
      1. Remove the "question" keyword from the filter so it just contains "d" and click "Apply filters"
        • Confirm that only "First question" is shown.
      2. Remove the filter entirely and click "Apply filters"
        • Confirm that all three questions are shown.
      Show
      This covered by behat tests in question/bank/viewquestionname/tests/behat/view_question_name_column.feature Manual testing steps: Go to a question bank page Create three questions named "First question", "Second question" and "Third question". Confirm that you can see all three questions. Click "Add filter" and set the new filter to "Question name" Enter "First" in the filter and click "Apply filters" Confirm that only "First question" is shown. Add "Second" to the filter as a second keyword and click "Apply filters". Confirm that both "First question" and "Second question" are shown. Remove "First" and "Second" from the filter. Add "question" and "d" to the filter as separate keywords, then click "Apply filters" Confirm that all three questions are shown. Change the filter's "Match" option from "Any" to "All" and click "Apply filters" Confirm that only "Second question" and "Third question" are shown. Change the filter's "Match" option from "All" to "None" and click "Apply filters" Confirm that none of the questions are shown Remove the "question" keyword from the filter so it just contains "d" and click "Apply filters" Confirm that only "First question" is shown. Remove the filter entirely and click "Apply filters" Confirm that all three questions are shown.
    • Hide

      Code verified against automated checks.

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

      More information about this report

      Built on: Thu 05 Dec 2024 12:06:27 PM UTC

      Show
      Code verified against automated checks. Checked MDL-83860 using repository: https://github.com/marxjohnson/moodle.git main (0 errors / 0 warnings) [branch: MDL-83860_main | CI Job ] More information about this report Built on: Thu 05 Dec 2024 12:06:27 PM UTC
    • Show
      Launching automatic jobs for branch MDL-83860 _main https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/17729/ PHPUnit (sqlsrv) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/60384/ Behat (NonJS - boost and classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/60385/ Behat (Firefox - boost) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/60386/ Behat (Firefox - classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/60387/ App tests (stable app version) Built on: Mon Dec 16 12:30:21 PM UTC 2024

      Create a new filter for the Question name column.

      The filter uses the core "keyword" filter type, so multiple keywords can be specified, and questions are matched based on All/Any/None of them.

            marxjohnson Mark Johnson
            marxjohnson Mark Johnson
            Simon Adams Simon Adams
            Tim Hunt Tim Hunt
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            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 - 1 hour, 4 minutes
                1h 4m

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