Details
-
Task
-
Resolution: Fixed
-
Critical
-
3.5
-
MOODLE_35_STABLE
-
MOODLE_35_STABLE
-
MDL-61380-master -
Description
This is to allow having random question by tag, without doing quiz refactoring.
At the moment, when adding a random question, an entry is created in the {question} table.
- category is the category that the random question will be picked from
- questiontext is either 0 which means not to pick questions from subcategories or 1 which means picking questions from subcategories aswell
We will use the questiontext field to store a json string that contains data about tag(s) as well. The category field will be 0 if the random question is a "random question by tag".
Attachments
Issue Links
- blocks
-
MDL-61514 Backup / restore of quiz should read/write some data from/into quiz_slots
-
- Closed
-
- caused a regression
-
MDL-62871 Wrong reftable name in foreign key "questioncategoryid"
-
- Closed
-
-
MDL-65630 Quiz allow redo within an attempt with random questions gives an error
-
- Closed
-
- has a non-specific relationship to
-
MDL-61267 Random question type should be removed (because there are better ways to handle random questions)
-
- Open
-
- has a QA test
-
MDLQA-12261 A teacher can add select random questions for quizzes using tags
-
- Passed
-
- has been marked as being related by
-
MDL-61609 Add unit tests for new functions introduced by MDL-61380
-
- Closed
-
- has to be done after
-
MDL-61614 Move tag data from quiz_slots table into it's own table structure
-
- Closed
-
- will be (partly) resolved by
-
MDL-61136 Add a tag filter to the "Add a random question" dialogue
-
- Closed
-
- will help resolve
-
MDL-61091 As a teacher, I can add a 'random question' to my quiz where the question is taken from a question category (optionally including sub categories) with optional filtering by tags.
-
- Closed
-
-
MDL-61466 I should be able to add random question by tag from course context or question context
-
- Closed
-