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

I should be able to filter by tags in the course and question context in the question bank

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.5
    • 3.5
    • Questions
    • MOODLE_35_STABLE
    • MOODLE_35_STABLE
    • MDL-61465-master-2
    • Hide

      Set up

      1. Log in as admin
      2. Create two courses c1 and c2
      3. View course c1
      4. View the question bank
        • Edit cog > More… > Question bank
      5. Click the “Categories” tab
      6. Add a sub category to the “Default for Miscellaneous”
        • In the “Add category section” set the parent category to “Default for Miscellaneous”
        • In the name put “sub course category”
      7. View the “Questions” tab

      Filter questions in same context by course tag

      1. Change “Select a category” to “Default for System”
      2. Click “Create a new question” to create a system context question (it doesn’t matter which type)
        • Set the question name to “sys q1”
        • In the “Tags” section add a tag called “sys1”
        • In the “Course: <course name> tags” section add “c1”
      3. Click “Create a new question” to create a system context question (it doesn’t matter which type)
        • Set the question name to “sys q2”
        • In the “Tags” section add a tag called “sys2”
        • In the “Course: <course name> tags” section add “c1”
      4. Click “Create a new question” to create a system context question (it doesn’t matter which type)
        • Set the question name to “sys q3”
        • In the “Tags” section add a tag called “sys3”
        • Don’t add a course tag
      5. Add “c1” to the tags filter
      6. CONFIRM that the list of questions is filtered down to “sys q1” and “sys q2”
      7. Add “sys1” to the tags filter
      8. CONFIRM that the list of questions now only contains “sys q1”
      9. Remove all tags from the filter
      10. CONFIRM that all 3 questions are now shown
      11. Add “sys3” to the tags filter
      12. CONFIRM that the list of questions now only contains “sys q3”

      Filter questions with sub categories

      1. Change “Select a category” to “Default for Miscellaneous”
      2. Click “Create a new question” to create a course category context question (it doesn’t matter which type)
        • Set category to “Default for Miscellaneous”
        • Set the question name to “cat q1”
        • In the “Tags” section add a tag called “cat”
        • In the “Course: <course name> tags” section add “c1”
      3. Click “Create a new question” to create a course category context question (it doesn’t matter which type)
        • Set category to “Default for Miscellaneous”
        • Set the question name to “cat q2”
        • In the “Tags” section add a tag called “cat”
        • Don’t add a course tag
      4. Click “Create a new question” to create a course category context question in the sub category (it doesn’t matter which type)
        • Set category to “sub course category”
        • Set the question name to “sub cat q1”
        • In the “Tags” section two tags called “cat” and “sub”
        • In the “Course: <course name> tags” section add “c1”
      5. Make sure the “Also show questions from subcategories” checkbox is checked
      6. Add “cat” to the tags filter
      7. CONFIRM that all 3 questions are still visible
      8. Uncheck the show questions from subcategories checkbox
      9. CONFIRM “sub cat q1” is no longer visible (the others remain visible)
      10. Add “c1” to the tags filter
      11. CONFIRM that only “cat q1” is now visible
      12. Check the show questions from subcategories checkbox
      13. CONFIRM that both “cat q1” and “sub cat q1” are now visible
      14. Add “sub” to the tags filter
      15. CONFIRM that only “sub cat q1” is now visible
      16. Remove all tags from the tags filter
      17. CONFIRM all 3 questions are visible again

      Filter course questions

      1. Change “Select a category” to “Default for c1”
      2. Click “Create a new question” to create a course c1 context question (it doesn’t matter which type)
        • Set the question name to “c1 q1”
        • In the “Tags” section two tags called “c1” and “1”
      3. Click “Create a new question” to create a course c1 context question (it doesn’t matter which type)
        • Set the question name to “c1 q2”
        • In the “Tags” section two tags called “c1” and “2”
      4. Click “Create a new question” to create a course c1 context question (it doesn’t matter which type)
        • Set the question name to “c1 q3”
        • Don’t add any tags
      5. Add “c1” to the tags filter
      6. CONFIRM that only q1 and q2 are visible
      7. Add “1” to the tags filter
      8. CONFIRM that only q1 is visible
      9. Remove “c1” from the filter
      10. CONFIRM that only q1 is still visible
      11. Remove “1” from the filter
      12. CONFIRM that all 3 questions are now visible

      Confirm course tags aren’t available across courses

      1. View course c2
      2. View the question bank questions
      3. Change “Select a category” to “Default for system”
      4. Edit sys q1
        • In the “Course: <course name> tags” section add “c2”
      5. CONFIRM that you can’t add “c1” to the tags filter
      6. Add “c2” to the tags filter
      7. CONFIRM that only sys q1 is visible
      Show
      Set up Log in as admin Create two courses c1 and c2 View course c1 View the question bank Edit cog > More… > Question bank Click the “Categories” tab Add a sub category to the “Default for Miscellaneous” In the “Add category section” set the parent category to “Default for Miscellaneous” In the name put “sub course category” View the “Questions” tab Filter questions in same context by course tag Change “Select a category” to “Default for System” Click “Create a new question” to create a system context question (it doesn’t matter which type) Set the question name to “sys q1” In the “Tags” section add a tag called “sys1” In the “Course: <course name> tags” section add “c1” Click “Create a new question” to create a system context question (it doesn’t matter which type) Set the question name to “sys q2” In the “Tags” section add a tag called “sys2” In the “Course: <course name> tags” section add “c1” Click “Create a new question” to create a system context question (it doesn’t matter which type) Set the question name to “sys q3” In the “Tags” section add a tag called “sys3” Don’t add a course tag Add “c1” to the tags filter CONFIRM that the list of questions is filtered down to “sys q1” and “sys q2” Add “sys1” to the tags filter CONFIRM that the list of questions now only contains “sys q1” Remove all tags from the filter CONFIRM that all 3 questions are now shown Add “sys3” to the tags filter CONFIRM that the list of questions now only contains “sys q3” Filter questions with sub categories Change “Select a category” to “Default for Miscellaneous” Click “Create a new question” to create a course category context question (it doesn’t matter which type) Set category to “Default for Miscellaneous” Set the question name to “cat q1” In the “Tags” section add a tag called “cat” In the “Course: <course name> tags” section add “c1” Click “Create a new question” to create a course category context question (it doesn’t matter which type) Set category to “Default for Miscellaneous” Set the question name to “cat q2” In the “Tags” section add a tag called “cat” Don’t add a course tag Click “Create a new question” to create a course category context question in the sub category (it doesn’t matter which type) Set category to “sub course category” Set the question name to “sub cat q1” In the “Tags” section two tags called “cat” and “sub” In the “Course: <course name> tags” section add “c1” Make sure the “Also show questions from subcategories” checkbox is checked Add “cat” to the tags filter CONFIRM that all 3 questions are still visible Uncheck the show questions from subcategories checkbox CONFIRM “sub cat q1” is no longer visible (the others remain visible) Add “c1” to the tags filter CONFIRM that only “cat q1” is now visible Check the show questions from subcategories checkbox CONFIRM that both “cat q1” and “sub cat q1” are now visible Add “sub” to the tags filter CONFIRM that only “sub cat q1” is now visible Remove all tags from the tags filter CONFIRM all 3 questions are visible again Filter course questions Change “Select a category” to “Default for c1” Click “Create a new question” to create a course c1 context question (it doesn’t matter which type) Set the question name to “c1 q1” In the “Tags” section two tags called “c1” and “1” Click “Create a new question” to create a course c1 context question (it doesn’t matter which type) Set the question name to “c1 q2” In the “Tags” section two tags called “c1” and “2” Click “Create a new question” to create a course c1 context question (it doesn’t matter which type) Set the question name to “c1 q3” Don’t add any tags Add “c1” to the tags filter CONFIRM that only q1 and q2 are visible Add “1” to the tags filter CONFIRM that only q1 is visible Remove “c1” from the filter CONFIRM that only q1 is still visible Remove “1” from the filter CONFIRM that all 3 questions are now visible Confirm course tags aren’t available across courses View course c2 View the question bank questions Change “Select a category” to “Default for system” Edit sys q1 In the “Course: <course name> tags” section add “c2” CONFIRM that you can’t add “c1” to the tags filter Add “c2” to the tags filter CONFIRM that only sys q1 is visible

      Make sure that the tags filter in the question bank (both the question bank page and the "add from question bank" modal in a quiz activity) allows filtering of the questions by both the tag instances in the course context and question context.

            ryanwyllie Ryan Wyllie
            ryanwyllie Ryan Wyllie
            Simey Lameze Simey Lameze
            Andrew Lyons Andrew Lyons
            Andrew Lyons Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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