Project: moodle
Issue MDL-12403: backup or import of single quiz includes all questions in database
When making a backup of individual quizzes, no matter how many (or how few) quizzes I back up, the backup includes all questions from the question bank, not only those used in the quiz which I'm backing up. So, in an extreme case, if I back up a single quiz, and then restore it to another course, I unintentionally transfer hundreds of questions along with this quiz. The same happens when importing a quiz to another course.
Story points: 100