Situation is similar to the one in my previous post...
- A questionnaire is set to Save/Resume answers YES.
- Students A, B, C answer the questionnaire completely and submit it.
- Students D and E start to answer the questions and Save their answers without submitting.
- Teacher decides to View all Responses. The "Total responses to question" line shows a discrepancy between the number of respondents to the question and the number of responses, as per attached screenshot.
Solution suggested is to add one line to \questionnaire\classes\responsetype\responsetype.php in public function get_results_tags():
$respondents = min($respondents, $participants);