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

Add question bank filter - Question text and feedback

XMLWordPrintable

    • MOODLE_500_STABLE
    • MOODLE_500_STABLE
    • MDL-84191_main
    • Hide
      1. Create a question bank
      2. Add some questions to the bank, for example:

       

      Name: Question 1
      Text: This is question 1, hello
      General Feedback: This is the feedback for question 1, good afternoon

      Name: Question 2
      Text: This is question 2, good afternoon
      General Feedback: This is the feedback for question 2, goodbye

      Name: Question 3
      Text: This is question 3, goodbye
      General Feedback: This is the feedback for question 3, hello
      

       

      1. Add a filter condition on the question bank page to match "ANY" -> "Question text" and enter the value "hello"
      2. Apply the filter
      3. Confirm that you can see: Question 1 and Question 3
      4. Change the filter to "ALL"
      5. Add another value to the filter: "afternoon" (Should now be: "hello", "afternoon"
      6. Apply the filters
      7. Confirm that you can see only Question 1
      8. Change the filter to "NONE"
      9. Change the values to just "hello"
      10. Apply the filters
      11. Confirm that you can see only Question 2
      Show
      Create a question bank Add some questions to the bank, for example:   Name: Question 1 Text: This is question 1 , hello General Feedback: This is the feedback for question 1 , good afternoon Name: Question 2 Text: This is question 2 , good afternoon General Feedback: This is the feedback for question 2 , goodbye Name: Question 3 Text: This is question 3 , goodbye General Feedback: This is the feedback for question 3 , hello   Add a filter condition on the question bank page to match "ANY" -> "Question text" and enter the value "hello" Apply the filter Confirm that you can see: Question 1 and Question 3 Change the filter to "ALL" Add another value to the filter: "afternoon" (Should now be: "hello", "afternoon" Apply the filters Confirm that you can see only Question 1 Change the filter to "NONE" Change the values to just "hello" Apply the filters Confirm that you can see only Question 2
    • Hide

      Code verified against automated checks.

      Checked MDL-84191 using repository: https://github.com/cwarwicker/moodle.git

      More information about this report

      Built on: Tue Jan 14 10:46:17 AM UTC 2025

      Show
      Code verified against automated checks. Checked MDL-84191 using repository: https://github.com/cwarwicker/moodle.git main (0 errors / 0 warnings) [branch: MDL-84191_main | CI Job ] More information about this report Built on: Tue Jan 14 10:46:17 AM UTC 2025
    • Show
      Launching automatic jobs for branch MDL-84191 _main https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/17910/ PHPUnit (sqlsrv) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61054/ Behat (NonJS - boost and classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61055/ Behat (Firefox - boost) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61056/ Behat (Firefox - classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/61057/ App tests (stable app version) Built on: Tue Jan 14 12:30:18 PM UTC 2025

      Create a new question bank filter that filters based on the text content of the "questiontext" and "generalfeedback" fields.

      This will be a keyword filter similar to the "Question name" filter (MDL-83860), but searching on two large text fields.

        1. (1) 11 Passed -- (Main)MDL-84191.png
          115 kB
          Kim Jared Lucas
        2. (1) 3 Passed -- (Main)MDL-84191.png
          134 kB
          Kim Jared Lucas
        3. (1) 7 Passed -- (Main)MDL-84191.png
          121 kB
          Kim Jared Lucas

            cwarwicker CMR
            marxjohnson Mark Johnson
            Mark Johnson Mark Johnson
            Tim Hunt Tim Hunt
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 22 minutes
                22m

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